mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-15 14:21:11 +01:00
Merge pull request #6972 from matrix-org/t3chguy/fix/19359
This commit is contained in:
commit
6ea32279a3
@ -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}
|
||||
>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user