mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-05-24 19:35:24 +00:00
use que instead of dirrectly to improve performance
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user