Remove name event listener

pull/21833/head
David Baker 2015-11-05 15:07:46 +00:00
parent 3114422cb7
commit f4e65f8e17
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}
},