When creating subspaces properly set restricted join rule

pull/21833/head
Michael Telatynski 2021-09-01 16:12:39 +01:00
parent f19030bcfa
commit f2b7981009
1 changed files with 1 additions and 1 deletions

View File

@ -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) {