setPhase can now open the panel, don't open it if closed on view_room

pull/21833/head
Bruno Windels 2019-04-10 13:21:42 +02:00
parent 2b4b6feba2
commit fe63b6b5bd
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ export default class RoomHeaderButtons extends HeaderButtons {
} else {
this.setPhase(RightPanel.Phase.RoomMemberList);
}
} else if (payload.action === "view_room") {
} else if (payload.action === "view_room" && !this.props.collapsedRhs) {
this.setPhase(RightPanel.Phase.RoomMemberList);
} else if (payload.action === "view_3pid_invite") {
if (payload.event) {