mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
Fix typo preventing custom status from deregistering listeners on tiles
This commit is contained in:
parent
99dc2c4738
commit
0258f61f63
@ -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 New Issue
Block a user