mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-08-28 05:04:08 +00:00
don't fetch members from channels you can't see
This commit is contained in:
@@ -1423,7 +1423,7 @@ class Localuser {
|
||||
if (!guild) return;
|
||||
|
||||
const channel = this.focusChannel;
|
||||
if (!channel) return;
|
||||
if (!channel || !channel.hasPermission("VIEW_CHANNEL")) return;
|
||||
if (channel.voice && this.voiceAllowed) {
|
||||
const div = document.getElementById("sideDiv") as HTMLDivElement;
|
||||
div.textContent = "";
|
||||
|
||||
Reference in New Issue
Block a user