khatru/policies: accept deletions even when they're not protected.

This commit is contained in:
fiatjaf
2026-03-09 22:37:26 -03:00
parent 4348c64b14
commit 4e490879b5
+3
View File
@@ -111,6 +111,9 @@ func RejectEventsWithBase64Media(ctx context.Context, evt nostr.Event) (bool, st
}
func OnlyAllowNIP70ProtectedEvents(ctx context.Context, event nostr.Event) (reject bool, msg string) {
if event.Kind == 5 {
return false, ""
}
if nip70.IsProtected(event) {
return false, ""
}