Merge pull request #359 from matrix-org/dbkr/remove_account_data_listener
Add removeListener for account data listenerpull/21833/head
commit
8d2ac5dd5b
|
@ -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 New Issue