InternalRelay: fix event distribution
This commit is contained in:
parent
d8475e1b14
commit
f1700a08f9
|
@ -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