mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-26 09:44:25 +01:00
InternalRelay: fix event distribution
This commit is contained in:
@@ -53,10 +53,12 @@ export class InternalRelay implements NRelay {
|
||||
) as { key: 'domain'; value: string } | undefined)?.value;
|
||||
|
||||
if (domain === event.author_domain) {
|
||||
return machina.push(purifyEvent(event));
|
||||
machina.push(purifyEvent(event));
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
return machina.push(purifyEvent(event));
|
||||
machina.push(purifyEvent(event));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user