mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2025-04-14 01:49:56 -04:00
fix: incorrect logic on empty filters for hidden events
This commit is contained in:
parent
9710ea27aa
commit
5ad383f257
@ -350,7 +350,7 @@ fn query_from_sub(sub: &Subscription) -> String {
|
||||
filter_clauses.push(fc);
|
||||
} else {
|
||||
// never display hidden events
|
||||
filter_clauses.push("hidden!=FALSE".to_owned());
|
||||
filter_clauses.push("hidden!=TRUE".to_owned());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user