You've already forked matrix-react-sdk
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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user