Add options to hide self and non-talking clients

This commit is contained in:
Jaggernaut555
2023-01-10 17:57:55 -08:00
parent 230ce8f2e2
commit 9a68fca2c7
5 changed files with 8 additions and 2 deletions

View File

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