nostr-rs-relay

My dev fork of nostr-rs-relay
git clone git://jb55.com/nostr-rs-relay
Log | Files | Refs | README | LICENSE

commit 5ad383f2571c7af88d79565b7cac4bdf40bcfbb0
parent 9710ea27aa41ee077dc48ca32f6b2aaefd7e9772
Author: Greg Heartsfield <scsibug@imap.cc>
Date:   Fri, 31 Dec 2021 16:34:10 -0600

fix: incorrect logic on empty filters for hidden events

Diffstat:
Msrc/db.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/db.rs b/src/db.rs @@ -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()); } }