1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Fix spotlight cmd-k wrongly expanding left panel (#7463)

This commit is contained in:
Michael Telatynski
2022-01-05 10:07:04 +00:00
committed by GitHub
parent 6eea416e7e
commit ea7ac453bc
3 changed files with 11 additions and 42 deletions

View File

@@ -794,6 +794,8 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
});
break;
case 'focus_room_filter': // for CtrlOrCmd+K to work by expanding the left panel first
if (SettingsStore.getValue("feature_spotlight")) break; // don't expand if spotlight enabled
// fallthrough
case 'show_left_panel':
this.setState({
collapseLhs: false,