Rename setPhase to showOrHidePanel

This commit is contained in:
RMidhunSuresh 2023-09-12 20:48:29 +05:30
parent 89fa7b4b39
commit 919580fd10
No known key found for this signature in database
4 changed files with 14 additions and 14 deletions

View file

@ -1267,16 +1267,16 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
]);
}
} else {
RightPanelStore.instance.setPhase(RightPanelPhases.RoomMemberList);
RightPanelStore.instance.showOrHidePanel(RightPanelPhases.RoomMemberList);
}
break;
case "view_3pid_invite":
if (payload.event) {
RightPanelStore.instance.setPhase(RightPanelPhases.Room3pidMemberInfo, {
RightPanelStore.instance.showOrHidePanel(RightPanelPhases.Room3pidMemberInfo, {
memberInfoEvent: payload.event,
});
} else {
RightPanelStore.instance.setPhase(RightPanelPhases.RoomMemberList);
RightPanelStore.instance.showOrHidePanel(RightPanelPhases.RoomMemberList);
}
break;
}