mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 01:01:45 +00:00
Also default to PL invite=50 for private space creation
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user