pipeline: let ditto admin skip the policy

This commit is contained in:
Alex Gleason
2024-09-19 21:57:59 -05:00
parent cc2b5cf66a
commit 5dca8d4950

View File

@@ -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);
}