use que instead of dirrectly to improve performance

This commit is contained in:
MathMan05
2025-12-09 15:52:12 -06:00
parent 798b16f534
commit a8070e6294
+2 -2
View File
@@ -518,13 +518,13 @@ class Group extends Channel {
this.users.push(user);
this.users = [...new Set(this.users)];
if (this.localuser.channelfocus === this) {
this.localuser.memberListUpdate();
this.localuser.memberListQue();
}
}
removeRec(user: User) {
this.users = this.users.filter((u) => u !== user);
if (this.localuser.channelfocus === this) {
this.localuser.memberListUpdate();
this.localuser.memberListQue();
}
}
updateChannel(json: channeljson): void {