Merge pull request #6972 from matrix-org/t3chguy/fix/19359
This commit is contained in:
commit
6ea32279a3
1 changed files with 4 additions and 1 deletions
|
@ -275,8 +275,11 @@ const SpacePreview = ({ space, onJoinButtonClicked, onRejectButtonClicked }: ISp
|
||||||
<AccessibleButton
|
<AccessibleButton
|
||||||
kind="primary"
|
kind="primary"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setBusy(true);
|
|
||||||
onJoinButtonClicked();
|
onJoinButtonClicked();
|
||||||
|
if (!cli.isGuest()) {
|
||||||
|
// user will be shown a modal that won't fire a room join error
|
||||||
|
setBusy(true);
|
||||||
|
}
|
||||||
}}
|
}}
|
||||||
disabled={!spacesEnabled || cannotJoin}
|
disabled={!spacesEnabled || cannotJoin}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue