diff --git a/.gitignore b/.gitignore index 94188d6..c6a491a 100644 --- a/.gitignore +++ b/.gitignore @@ -56,3 +56,6 @@ test-db-*/ # iOS keys directory ios_keys/ + +# Code indexing +.chunks/ diff --git a/lib/handlers/nostr/filter/filter.go b/lib/handlers/nostr/filter/filter.go index 4bba450..a5a1428 100644 --- a/lib/handlers/nostr/filter/filter.go +++ b/lib/handlers/nostr/filter/filter.go @@ -184,12 +184,6 @@ func BuildFilterHandler(store stores.Store) func(read lib_nostr.KindReader, writ // Check read access permissions using the global access control system accessControl := websocket.GetAccessControl() if accessControl != nil { - // Only check access if we have a valid pubkey - if connPubkey == "" { - logging.Infof(ColorRed + "[ACCESS CONTROL] Read access denied: No authenticated user" + ColorReset) - write("NOTICE", "Read access denied: Authentication required") - return - } // Check if user has read access err := accessControl.CanRead(connPubkey)