about summary refs log tree commit diff
path: root/LibMatrix.EventTypes
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-07-17 20:26:12 +0200
committerRory& <root@rory.gay>2025-07-17 20:26:12 +0200
commitc39d18efd0e6a610d2dc29832407e99e0079bc13 (patch)
tree707eff16296c01388ea1689c516aae219eb4ac10 /LibMatrix.EventTypes
parentUpdate dependencies (diff)
downloadLibMatrix-c39d18efd0e6a610d2dc29832407e99e0079bc13.tar.xz
Fix joining rooms via ID, without vias.
Diffstat (limited to 'LibMatrix.EventTypes')
-rw-r--r--LibMatrix.EventTypes/Spec/State/RoomInfo/RoomCreateEventContent.cs5
1 files changed, 5 insertions, 0 deletions
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<string>? AdditionalCreators { get; set; } + [JsonPropertyName("m.federate")] public bool? Federate { get; set; }