mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-19 13:24:23 +01:00
pipeline: let ditto admin skip the policy
This commit is contained in:
@@ -48,7 +48,7 @@ async function handleEvent(event: DittoEvent, signal: AbortSignal): Promise<void
|
||||
throw new RelayError('invalid', 'protected event');
|
||||
}
|
||||
|
||||
if (event.kind !== 24133) {
|
||||
if (event.kind !== 24133 && event.pubkey !== Conf.pubkey) {
|
||||
await policyFilter(event);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user