@@ -669,13 +669,14 @@ export default class SpaceRoomView extends React.PureComponent<IProps, IState> {
|
||||
return;
|
||||
}
|
||||
|
||||
if (payload.action !== Action.ViewUser && payload.action !== "view_3pid_invite") return;
|
||||
|
||||
/**
|
||||
* The rest of the `ViewUser` and `view_3pid_invite` exists in the `<RoomView />`
|
||||
* component. This deals specifically with showing the space members list
|
||||
*/
|
||||
if (!payload.member && !payload.event) {
|
||||
if (
|
||||
(payload.action === Action.ViewUser && !payload.member) ||
|
||||
(payload.action === "view_3pid_invite" && payload.event === null)
|
||||
) {
|
||||
RightPanelStore.instance.setCard({
|
||||
phase: RightPanelPhases.SpaceMemberList,
|
||||
state: { spaceId: this.props.space.roomId },
|
||||
|
||||
Reference in New Issue
Block a user