Merge pull request #359 from matrix-org/dbkr/remove_account_data_listener
Add removeListener for account data listener
This commit is contained in:
commit
8d2ac5dd5b
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…
Reference in a new issue