Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ test-db-*/

# iOS keys directory
ios_keys/

# Code indexing
.chunks/
6 changes: 0 additions & 6 deletions lib/handlers/nostr/filter/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down