mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-07-16 23:51:53 +00:00
don't show people who can't see the channel
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user