mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
Remove name event listener
This commit is contained in:
parent
3114422cb7
commit
f4e65f8e17
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ module.exports = {
|
|||
if (MatrixClientPeg.get()) {
|
||||
MatrixClientPeg.get().removeListener("Room", this.onRoom);
|
||||
MatrixClientPeg.get().removeListener("RoomState.members", this.onRoomStateMember);
|
||||
MatrixClientPeg.get().removeListener("RoomMember.name", this.onRoomMemberName);
|
||||
MatrixClientPeg.get().removeListener("User.presence", this.userPresenceFn);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue