1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Disable the right panel when the app asks us to

Currently this is only used in the GroupView and for forwarding messages.
This commit is contained in:
Travis Ralston
2019-12-06 14:18:18 -07:00
parent a24bbdffd0
commit 814c408e23
3 changed files with 10 additions and 14 deletions

View File

@ -108,20 +108,9 @@ module.exports = createReactClass({
),
});
});
// dis.dispatch({
// action: 'panel_disable',
// sideDisabled: true,
// middleDisabled: true,
// });
},
componentWillUnmount: function() {
// dis.dispatch({
// action: 'panel_disable',
// sideDisabled: false,
// middleDisabled: false,
// });
if (this.filterTimeout) {
clearTimeout(this.filterTimeout);
}