event types
3 files changed, 5 insertions, 3 deletions
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 @@
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
- <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
+ <ImplicitUsings>enable</ImplicitUsings>
+ <LinkIncremental>true</LinkIncremental>
<LangVersion>preview</LangVersion>
+ <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
</PropertyGroup>
<ItemGroup>
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<string> 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")]
|