don't show people who can't see the channel

This commit is contained in:
MathMan05
2026-07-13 14:31:37 -05:00
parent ecfb96b754
commit 9959b456cd
+1
View File
@@ -4472,6 +4472,7 @@ class Localuser {
}
} else {
for (const [_, member] of this.focusGuild.members) {
if (!this.focusChannel?.hasPermission("VIEW_CHANNEL", member)) continue;
const rank = member.compare(name);
if (rank > 0) {
members.push([member, rank]);