1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Set invite PL requirement for public spaces to 0 explicitly

This commit is contained in:
Michael Telatynski
2021-03-24 16:42:21 +00:00
parent 31dd224cc9
commit f340b8f7ed

View File

@@ -88,6 +88,7 @@ const SpaceCreateMenu = ({ onFinished }) => {
power_level_content_override: {
// Only allow Admins to write to the timeline to prevent hidden sync spam
events_default: 100,
...Visibility.Public ? { invite: 0 } : {},
},
},
spinner: false,