diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-10-19 07:20:34 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-10-19 07:20:34 +0200 |
commit | 0330ff6706a968400ca8fe2a3e3ccf6237a15566 (patch) | |
tree | f2ffe7b16050ea0cbd19aa08af48b67d12ec4848 /LibMatrix/EventTypes/Spec/State/RoomInfo/RoomCreateEventContent.cs | |
parent | Add profile updating (diff) | |
download | LibMatrix-0330ff6706a968400ca8fe2a3e3ccf6237a15566.tar.xz |
fix synchelper null check
Diffstat (limited to '')
-rw-r--r-- | LibMatrix/EventTypes/Spec/State/RoomInfo/RoomCreateEventContent.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/LibMatrix/EventTypes/Spec/State/RoomInfo/RoomCreateEventContent.cs b/LibMatrix/EventTypes/Spec/State/RoomInfo/RoomCreateEventContent.cs index 275203c..46c4000 100644 --- a/LibMatrix/EventTypes/Spec/State/RoomInfo/RoomCreateEventContent.cs +++ b/LibMatrix/EventTypes/Spec/State/RoomInfo/RoomCreateEventContent.cs @@ -3,8 +3,10 @@ using LibMatrix.Interfaces; namespace LibMatrix.EventTypes.Spec.State; -[MatrixEvent(EventName = "m.room.create")] +[MatrixEvent(EventName = EventId)] public class RoomCreateEventContent : EventContent { + public const string EventId = "m.room.create"; + [JsonPropertyName("room_version")] public string? RoomVersion { get; set; } |