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

Commit

Permalink
Merge pull request #5434 from matrix-org/t3chguy/fix/15755
Browse files Browse the repository at this point in the history
Revert room header click behaviour to opening room settings
  • Loading branch information
t3chguy authored Nov 20, 2020
2 parents 5ee21d4 + cc12f2f commit 8c2f1b4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/structures/RoomView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ import MatrixClientContext from "../../contexts/MatrixClientContext";
import {E2EStatus, shieldStatusForRoom} from '../../utils/ShieldUtils';
import {Action} from "../../dispatcher/actions";
import {SettingLevel} from "../../settings/SettingLevel";
import {RightPanelPhases} from "../../stores/RightPanelStorePhases";
import {IMatrixClientCreds} from "../../MatrixClientPeg";
import ScrollPanel from "./ScrollPanel";
import TimelinePanel from "./TimelinePanel";
Expand Down Expand Up @@ -1324,10 +1323,7 @@ export default class RoomView extends React.Component<IProps, IState> {
};

private onSettingsClick = () => {
dis.dispatch({
action: Action.SetRightPanelPhase,
phase: RightPanelPhases.RoomSummary,
});
dis.dispatch({ action: "open_room_settings" });
};

private onCancelClick = () => {
Expand Down

0 comments on commit 8c2f1b4

Please sign in to comment.