You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Fix explore rooms button not working during space creation wizard
This commit is contained in:
@@ -807,6 +807,11 @@ export default class SpaceRoomView extends React.PureComponent<IProps, IState> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
private onAction = (payload: ActionPayload) => {
|
private onAction = (payload: ActionPayload) => {
|
||||||
|
if (payload.action === "view_room" && payload.room_id === this.props.space.roomId) {
|
||||||
|
this.setState({ phase: Phase.Landing });
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (payload.action !== Action.ViewUser && payload.action !== "view_3pid_invite") return;
|
if (payload.action !== Action.ViewUser && payload.action !== "view_3pid_invite") return;
|
||||||
|
|
||||||
if (payload.action === Action.ViewUser && payload.member) {
|
if (payload.action === Action.ViewUser && payload.member) {
|
||||||
|
|||||||
Reference in New Issue
Block a user