mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-07 23:26:24 +02:00
add m.call and m.call.member to list of permissions to set on public rooms
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
3940d8372f
commit
e6ed222167
1 changed files with 2 additions and 0 deletions
|
@ -870,6 +870,8 @@ fn default_power_levels_content(
|
||||||
// default users from calling public rooms, for obvious reasons.
|
// default users from calling public rooms, for obvious reasons.
|
||||||
if *visibility == room::Visibility::Public {
|
if *visibility == room::Visibility::Public {
|
||||||
power_levels_content["events"]["m.call.invite"] = serde_json::to_value(50).expect("50 is valid Value");
|
power_levels_content["events"]["m.call.invite"] = serde_json::to_value(50).expect("50 is valid Value");
|
||||||
|
power_levels_content["events"]["m.call"] = serde_json::to_value(50).expect("50 is valid Value");
|
||||||
|
power_levels_content["events"]["m.call.member"] = serde_json::to_value(50).expect("50 is valid Value");
|
||||||
power_levels_content["events"]["org.matrix.msc3401.call"] =
|
power_levels_content["events"]["org.matrix.msc3401.call"] =
|
||||||
serde_json::to_value(50).expect("50 is valid Value");
|
serde_json::to_value(50).expect("50 is valid Value");
|
||||||
power_levels_content["events"]["org.matrix.msc3401.call.member"] =
|
power_levels_content["events"]["org.matrix.msc3401.call.member"] =
|
||||||
|
|
Loading…
Add table
Reference in a new issue