mirror of https://github.com/vector-im/riot-web
Merge pull request #6725 from matrix-org/t3chguy/fix/18797
When creating subspaces properly set restricted join rulepull/21833/head
commit
0d2f7db671
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue