From 5a36354cc80a908ae76556a2979fc660075966ca Mon Sep 17 00:00:00 2001 From: reya <123083837+reyamir@users.noreply.github.com> Date: Mon, 1 Sep 2025 19:44:23 +0700 Subject: [PATCH] chore: fix handling of ongoing room kind incorrectly (#136) --- crates/registry/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/registry/src/lib.rs b/crates/registry/src/lib.rs index 349dda1..499f098 100644 --- a/crates/registry/src/lib.rs +++ b/crates/registry/src/lib.rs @@ -295,8 +295,9 @@ impl Registry { continue; } - // Get all public keys from the event - let public_keys = event.all_pubkeys(); + // Get all public keys from the event's tags + let mut public_keys = event.all_pubkeys(); + public_keys.retain(|pk| pk != &public_key); // Bypass screening flag let mut bypass = false;