From c37bcb0e4a878d4f4c0e47988adb8624131c82cd Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Thu, 9 Nov 2023 07:38:33 +0100 Subject: event types --- MatrixRoomUtils.LibDMSpace/MatrixRoomUtils.LibDMSpace.csproj | 4 +++- MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs | 2 +- MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'MatrixRoomUtils.LibDMSpace') diff --git a/MatrixRoomUtils.LibDMSpace/MatrixRoomUtils.LibDMSpace.csproj b/MatrixRoomUtils.LibDMSpace/MatrixRoomUtils.LibDMSpace.csproj index 70b4ffc..f21b154 100644 --- a/MatrixRoomUtils.LibDMSpace/MatrixRoomUtils.LibDMSpace.csproj +++ b/MatrixRoomUtils.LibDMSpace/MatrixRoomUtils.LibDMSpace.csproj @@ -2,9 +2,11 @@ net7.0 - enable enable + enable + true preview + true diff --git a/MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs b/MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs index b88f06a..de5cb26 100644 --- a/MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs +++ b/MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs @@ -5,7 +5,7 @@ using LibMatrix.Interfaces; namespace MatrixRoomUtils.LibDMSpace.StateEvents; [MatrixEvent(EventName = EventId)] -public class DMRoomInfo : EventContent { +public class DMRoomInfo : TimelineEventContent { public const string EventId = "gay.rory.dm_room_info"; [JsonPropertyName("remote_users")] public List RemoteUsers { get; set; } diff --git a/MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs b/MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs index 7824324..80eeef9 100644 --- a/MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs +++ b/MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs @@ -5,7 +5,7 @@ using LibMatrix.Interfaces; namespace MatrixRoomUtils.LibDMSpace.StateEvents; [MatrixEvent(EventName = EventId)] -public class DMSpaceInfo : EventContent { +public class DMSpaceInfo : TimelineEventContent { public const string EventId = "gay.rory.dm_space_info"; [JsonPropertyName("is_layered")] -- cgit 1.5.1