1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-11-29 21:23:11 +03:00

Unified room context menus (#7072)

This commit is contained in:
Michael Telatynski
2021-11-15 11:39:25 +00:00
committed by GitHub
parent 720b092844
commit 27c3153947
23 changed files with 660 additions and 133 deletions

View File

@@ -1486,10 +1486,6 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
});
};
private onSettingsClick = () => {
dis.dispatch({ action: "open_room_settings" });
};
private onAppsClick = () => {
dis.dispatch({
action: "appsDrawer",
@@ -2111,7 +2107,6 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
oobData={this.props.oobData}
inRoom={myMembership === 'join'}
onSearchClick={this.onSearchClick}
onSettingsClick={this.onSettingsClick}
onForgetClick={(myMembership === "leave") ? this.onForgetClick : null}
e2eStatus={this.state.e2eStatus}
onAppsClick={this.state.hasPinnedWidgets ? this.onAppsClick : null}