Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6972 from matrix-org/t3chguy/fix/19359
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Oct 19, 2021
2 parents f8b6f13 + eeec9b1 commit 6ea3227
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/structures/SpaceRoomView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,11 @@ const SpacePreview = ({ space, onJoinButtonClicked, onRejectButtonClicked }: ISp
<AccessibleButton
kind="primary"
onClick={() => {
setBusy(true);
onJoinButtonClicked();
if (!cli.isGuest()) {
// user will be shown a modal that won't fire a room join error
setBusy(true);
}
}}
disabled={!spacesEnabled || cannotJoin}
>
Expand Down

0 comments on commit 6ea3227

Please sign in to comment.