1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-20 16:22:28 +03:00

Fix typo preventing custom status from deregistering listeners on tiles

This commit is contained in:
Travis Ralston
2019-03-28 20:39:35 -06:00
parent 99dc2c4738
commit 0258f61f63

View File

@@ -56,7 +56,7 @@ module.exports = React.createClass({
user.on("User._unstable_statusMessage", this._onStatusMessageCommitted);
},
componentWillUmount() {
componentWillUnmount() {
const { user } = this.props.member;
if (!user) {
return;