remove hacks, now that emitting show_right_panel is centralized
This commit is contained in:
parent
fe63b6b5bd
commit
6ca1a879c9
3 changed files with 0 additions and 20 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue