From c39d18efd0e6a610d2dc29832407e99e0079bc13 Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 17 Jul 2025 20:26:12 +0200 Subject: Fix joining rooms via ID, without vias. --- LibMatrix.EventTypes/Spec/State/RoomInfo/RoomCreateEventContent.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'LibMatrix.EventTypes') diff --git a/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomCreateEventContent.cs b/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomCreateEventContent.cs index 37b831a..8519889 100644 --- a/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomCreateEventContent.cs +++ b/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomCreateEventContent.cs @@ -12,9 +12,14 @@ public class RoomCreateEventContent : EventContent { [JsonPropertyName("room_version")] public string? RoomVersion { get; set; } + // missing in room version 11+ [JsonPropertyName("creator")] public string? Creator { get; set; } + // v12+ + [JsonPropertyName("additional_creators")] + public List? AdditionalCreators { get; set; } + [JsonPropertyName("m.federate")] public bool? Federate { get; set; } -- cgit 1.5.1