diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-11-09 07:38:33 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-11-09 07:38:33 +0100 |
commit | c37bcb0e4a878d4f4c0e47988adb8624131c82cd (patch) | |
tree | 706f5300ce83b511d807decddd5b3521168b5fc7 /MatrixRoomUtils.LibDMSpace | |
parent | Fix updates (diff) | |
download | MatrixUtils-c37bcb0e4a878d4f4c0e47988adb8624131c82cd.tar.xz |
event types
Diffstat (limited to 'MatrixRoomUtils.LibDMSpace')
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")] |