Add removeLisatener for account data listener
This commit is contained in:
parent
46a2c74d71
commit
030652f289
1 changed files with 1 additions and 0 deletions
|
@ -268,6 +268,7 @@ module.exports = React.createClass({
|
|||
MatrixClientPeg.get().removeListener("Room.timeline", this.onRoomTimeline);
|
||||
MatrixClientPeg.get().removeListener("Room.accountData", this.onRoomAccountData);
|
||||
MatrixClientPeg.get().removeListener("RoomState.members", this.onRoomStateMember);
|
||||
MatrixClientPeg.get().removeListener("accountData", this.onAccountData);
|
||||
}
|
||||
|
||||
window.removeEventListener('resize', this.onResize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue