upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/client.rs b/src/lib/client.rs
index 60c22fc..4643392 100644
--- a/src/lib/client.rs
+++ b/src/lib/client.rs
@@ -1566,7 +1566,7 @@ async fn create_relays_request(
1566 } 1566 }
1567 } 1567 }
1568 // Also check global cache for profile events to avoid re-fetching 1568 // Also check global cache for profile events to avoid re-fetching
1569 if filter.kinds.as_ref().map_or(false, |kinds| { 1569 if filter.kinds.as_ref().is_some_and(|kinds| {
1570 kinds.iter().any(|k| { 1570 kinds.iter().any(|k| {
1571 k.eq(&Kind::Metadata) || k.eq(&Kind::RelayList) || k.eq(&KIND_USER_GRASP_LIST) 1571 k.eq(&Kind::Metadata) || k.eq(&Kind::RelayList) || k.eq(&KIND_USER_GRASP_LIST)
1572 }) 1572 })