diff --git a/src/webpage/localuser.ts b/src/webpage/localuser.ts index 88b1869..298a662 100644 --- a/src/webpage/localuser.ts +++ b/src/webpage/localuser.ts @@ -1110,6 +1110,7 @@ class Localuser { div.classList.remove("hideSearchDiv"); const guild = this.lookingguild; if (!guild) return; + const channel = this.channelfocus; if (!channel) return; if (channel.voice && this.voiceAllowed) { @@ -1120,6 +1121,9 @@ class Localuser { } if (list) { + if (list.d.guild_id !== guild.id) { + return; + } const counts = new Map(); for (const thing of list.d.ops[0].items) { if ("member" in thing) {