Merge branch 'internal-relay-push' into 'main'
InternalRelay: fix event distribution See merge request soapbox-pub/ditto!187
This commit is contained in:
commit
fae289486c
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue