diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-10-17 17:11:49 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-10-17 17:11:49 +0200 |
commit | c5c3c3506ec10e373d5c0ebb15146e4ed4e36df5 (patch) | |
tree | e74107e266ced599100d43c4e5c0823d4292dfdd /MatrixRoomUtils.Web/Classes/RoomCreationTemplates | |
parent | Refactors (diff) | |
download | MatrixUtils-c5c3c3506ec10e373d5c0ebb15146e4ed4e36df5.tar.xz |
Add profile management page
Diffstat (limited to 'MatrixRoomUtils.Web/Classes/RoomCreationTemplates')
-rw-r--r-- | MatrixRoomUtils.Web/Classes/RoomCreationTemplates/DefaultRoomCreationTemplate.cs | 8 |
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 |