about summary refs log tree commit diff
path: root/LibMatrix/Helpers/RoomBuilder.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-07-23 09:01:42 +0200
committerRory& <root@rory.gay>2025-07-23 09:05:01 +0200
commita246ac2bc5fc8ab442ad675061424f0154ccdcea (patch)
treeb8177eb447317f41ed4d37a840f3c9cdb8eda9ae /LibMatrix/Helpers/RoomBuilder.cs
parentWrite a proper schema for server capabilities (diff)
downloadLibMatrix-a246ac2bc5fc8ab442ad675061424f0154ccdcea.tar.xz
Make powerlevels settable in roombuilder
Diffstat (limited to '')
-rw-r--r--LibMatrix/Helpers/RoomBuilder.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibMatrix/Helpers/RoomBuilder.cs b/LibMatrix/Helpers/RoomBuilder.cs

index bef7568..71eed69 100644 --- a/LibMatrix/Helpers/RoomBuilder.cs +++ b/LibMatrix/Helpers/RoomBuilder.cs
@@ -40,7 +40,7 @@ public class RoomBuilder { /// </summary> public Dictionary<string, string?> Invites { get; set; } = new(); - public RoomPowerLevelEventContent PowerLevels { get; init; } = new() { + public RoomPowerLevelEventContent PowerLevels { get; set; } = new() { EventsDefault = 0, UsersDefault = 0, Kick = 50,