moved determination of isHidden to client object

This commit is contained in:
Janis
2023-01-11 13:22:08 +01:00
parent b10b7ad58d
commit 6fdc0d4ee0
4 changed files with 23 additions and 16 deletions

View File

@@ -3,7 +3,7 @@ function getClientsInChannel(channel) {
clientList.items.forEach((e) => {
if (e.channel) {
if (e.channel.id == channel.id && !(CONFIG.hideSelf && selfClient && e.id == selfClient.id)) {
if (e.channel.id == channel.id) {
result.push(e);
}
}