Use set instead of add in memberlist
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
2e8c4563aa
commit
11eb9c7783
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export class MemberList extends RetainedValue {
|
|||
|
||||
afterSync(memberChanges) {
|
||||
for (const [userId, memberChange] of memberChanges.entries()) {
|
||||
this._members.add(userId, memberChange.member);
|
||||
this._members.set(userId, memberChange.member);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue