Also default to PL invite=50 for private space creation
This commit is contained in:
parent
558b292c25
commit
d46181385c
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ export const createSpace = async (
|
||||||
power_level_content_override: {
|
power_level_content_override: {
|
||||||
// Only allow Admins to write to the timeline to prevent hidden sync spam
|
// Only allow Admins to write to the timeline to prevent hidden sync spam
|
||||||
events_default: 100,
|
events_default: 100,
|
||||||
...isPublic ? { invite: 0 } : {},
|
invite: isPublic ? 0 : 50,
|
||||||
},
|
},
|
||||||
room_alias_name: isPublic && alias ? alias.substr(1, alias.indexOf(":") - 1) : undefined,
|
room_alias_name: isPublic && alias ? alias.substr(1, alias.indexOf(":") - 1) : undefined,
|
||||||
topic,
|
topic,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue