diff --git a/src/nostr.rs b/src/nostr.rs index 8b5e5dd..6cbeb0e 100644 --- a/src/nostr.rs +++ b/src/nostr.rs @@ -188,7 +188,7 @@ impl WebSocketService { let event_flags = event_flags(&event, &user).await; - if GLOBALS.config.read().await.verify_events { + if !event_flags.author_is_an_authorized_user || GLOBALS.config.read().await.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)).into());