mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Fix typo preventing custom status from deregistering listeners on tiles
This commit is contained in:
parent
99dc2c4738
commit
0258f61f63
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ module.exports = React.createClass({
|
||||||
user.on("User._unstable_statusMessage", this._onStatusMessageCommitted);
|
user.on("User._unstable_statusMessage", this._onStatusMessageCommitted);
|
||||||
},
|
},
|
||||||
|
|
||||||
componentWillUmount() {
|
componentWillUnmount() {
|
||||||
const { user } = this.props.member;
|
const { user } = this.props.member;
|
||||||
if (!user) {
|
if (!user) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue