You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +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:
@@ -177,7 +177,7 @@ export default createReactClass({
|
||||
collapseLhs: false,
|
||||
leftDisabled: false,
|
||||
middleDisabled: false,
|
||||
rightDisabled: false,
|
||||
// the right panel's disabled state is tracked in its store.
|
||||
|
||||
version: null,
|
||||
newVersion: null,
|
||||
@@ -660,7 +660,7 @@ export default createReactClass({
|
||||
this.setState({
|
||||
leftDisabled: payload.leftDisabled || payload.sideDisabled || false,
|
||||
middleDisabled: payload.middleDisabled || false,
|
||||
rightDisabled: payload.rightDisabled || payload.sideDisabled || false,
|
||||
// We don't track the right panel being disabled here - it's tracked in the store.
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user