mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-22 09:09:07 -05: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);
|
filter_clauses.push(fc);
|
||||||
} else {
|
} else {
|
||||||
// never display hidden events
|
// never display hidden events
|
||||||
filter_clauses.push("hidden!=FALSE".to_owned());
|
filter_clauses.push("hidden!=TRUE".to_owned());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user