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

@ -32,9 +32,6 @@ export default class RoomHeaderButtons extends HeaderButtons {
onAction(payload) {
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 {