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 #6725 from matrix-org/t3chguy/fix/18797
Browse files Browse the repository at this point in the history
When creating subspaces properly set restricted join rule
  • Loading branch information
t3chguy authored Sep 1, 2021
2 parents f19030b + f2b7981 commit 0d2f7db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/dialogs/CreateSubspaceDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const CreateSubspaceDialog: React.FC<IProps> = ({ space, onAddExistingSpaceClick
}

try {
await createSpace(name, joinRule === JoinRule.Public, alias, topic, avatar, {}, { parentSpace });
await createSpace(name, joinRule === JoinRule.Public, alias, topic, avatar, {}, { parentSpace, joinRule });

onFinished(true);
} catch (e) {
Expand Down

0 comments on commit 0d2f7db

Please sign in to comment.