1
0
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:
Greg Heartsfield 2021-12-31 16:34:10 -06:00
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());
}
}