You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Also stop peeking on unmount
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -472,6 +472,10 @@ export default createReactClass({
|
|||||||
RoomScrollStateStore.setScrollState(this.state.roomId, this._getScrollState());
|
RoomScrollStateStore.setScrollState(this.state.roomId, this._getScrollState());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.state.shouldPeek) {
|
||||||
|
this.context.stopPeeking();
|
||||||
|
}
|
||||||
|
|
||||||
// stop tracking room changes to format permalinks
|
// stop tracking room changes to format permalinks
|
||||||
this._stopAllPermalinkCreators();
|
this._stopAllPermalinkCreators();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user