You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-16 22:01:54 +03:00
Remove Room.accountData listener on unmount
This commit is contained in:
@ -249,6 +249,7 @@ var TimelinePanel = React.createClass({
|
||||
client.removeListener("Room.redaction", this.onRoomRedaction);
|
||||
client.removeListener("Room.receipt", this.onRoomReceipt);
|
||||
client.removeListener("Room.localEchoUpdated", this.onLocalEchoUpdated);
|
||||
client.removeListener("Room.accountData", this.onAccountData);
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user