Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 8c2f1b4

Browse files
authored
Merge pull request #5434 from matrix-org/t3chguy/fix/15755
Revert room header click behaviour to opening room settings
2 parents 5ee21d4 + cc12f2f commit 8c2f1b4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/structures/RoomView.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ import MatrixClientContext from "../../contexts/MatrixClientContext";
5656
import {E2EStatus, shieldStatusForRoom} from '../../utils/ShieldUtils';
5757
import {Action} from "../../dispatcher/actions";
5858
import {SettingLevel} from "../../settings/SettingLevel";
59-
import {RightPanelPhases} from "../../stores/RightPanelStorePhases";
6059
import {IMatrixClientCreds} from "../../MatrixClientPeg";
6160
import ScrollPanel from "./ScrollPanel";
6261
import TimelinePanel from "./TimelinePanel";
@@ -1324,10 +1323,7 @@ export default class RoomView extends React.Component<IProps, IState> {
13241323
};
13251324

13261325
private onSettingsClick = () => {
1327-
dis.dispatch({
1328-
action: Action.SetRightPanelPhase,
1329-
phase: RightPanelPhases.RoomSummary,
1330-
});
1326+
dis.dispatch({ action: "open_room_settings" });
13311327
};
13321328

13331329
private onCancelClick = () => {

0 commit comments

Comments
 (0)