1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

remove hacks, now that emitting show_right_panel is centralized

This commit is contained in:
Bruno Windels
2019-04-10 13:22:31 +02:00
parent fe63b6b5bd
commit 6ca1a879c9
3 changed files with 0 additions and 20 deletions

View File

@@ -33,9 +33,6 @@ export default class GroupHeaderButtons extends HeaderButtons {
super.onAction(payload);
if (payload.action === "view_user") {
dis.dispatch({
action: 'show_right_panel',
});
if (payload.member) {
this.setPhase(RightPanel.Phase.RoomMemberInfo, {member: payload.member});
} else {