about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/Classes
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-17 17:11:49 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-17 17:11:49 +0200
commitc5c3c3506ec10e373d5c0ebb15146e4ed4e36df5 (patch)
treee74107e266ced599100d43c4e5c0823d4292dfdd /MatrixRoomUtils.Web/Classes
parentRefactors (diff)
downloadMatrixUtils-c5c3c3506ec10e373d5c0ebb15146e4ed4e36df5.tar.xz
Add profile management page
Diffstat (limited to 'MatrixRoomUtils.Web/Classes')
-rw-r--r--MatrixRoomUtils.Web/Classes/RoomCreationTemplates/DefaultRoomCreationTemplate.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/MatrixRoomUtils.Web/Classes/RoomCreationTemplates/DefaultRoomCreationTemplate.cs b/MatrixRoomUtils.Web/Classes/RoomCreationTemplates/DefaultRoomCreationTemplate.cs

index 1fa56be..bea1ced 100644 --- a/MatrixRoomUtils.Web/Classes/RoomCreationTemplates/DefaultRoomCreationTemplate.cs +++ b/MatrixRoomUtils.Web/Classes/RoomCreationTemplates/DefaultRoomCreationTemplate.cs
@@ -15,25 +15,25 @@ public class DefaultRoomCreationTemplate : IRoomCreationTemplate { InitialState = new List<StateEvent> { new() { Type = "m.room.history_visibility", - TypedContent = new HistoryVisibilityEventContent() { + TypedContent = new RoomHistoryVisibilityEventContent() { HistoryVisibility = "world_readable" } }, new() { Type = "m.room.guest_access", - TypedContent = new GuestAccessEventContent { + TypedContent = new RoomGuestAccessEventContent { GuestAccess = "can_join" } }, new() { Type = "m.room.join_rules", - TypedContent = new JoinRulesEventContent { + TypedContent = new RoomJoinRulesEventContent { JoinRule = "public" } }, new() { Type = "m.room.server_acl", - TypedContent = new ServerACLEventContent() { + TypedContent = new RoomServerACLEventContent() { Allow = new List<string>() { "*" }, Deny = new List<string>(), AllowIpLiterals = false