diff --git a/src/nostr.rs b/src/nostr.rs index 10c52b5..4d35446 100644 --- a/src/nostr.rs +++ b/src/nostr.rs @@ -299,7 +299,7 @@ impl WebSocketService { let event_flags = event_flags(event, &user); - if !event_flags.author_is_an_authorized_user || GLOBALS.config.read().verify_events { + if GLOBALS.config.read().verify_events { // Verify the event is valid (id is hash, signature is valid) if let Err(e) = event.verify() { return Err(ChorusError::EventIsInvalid(format!("{}", e.inner)).into());