about summary refs log tree commit diff
path: root/MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-25 14:00:02 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-25 14:00:02 +0200
commit89315fa530e1f21e2e50d94f955693b9413c98fe (patch)
treebc0747aa1b4f53147030be26c24d079fb0b34001 /MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs
parentClean up MRUStorageWrapper (diff)
downloadMatrixUtils-89315fa530e1f21e2e50d94f955693b9413c98fe.tar.xz
New things
Diffstat (limited to 'MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs')
-rw-r--r--MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs b/MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs
new file mode 100644
index 0000000..7824324
--- /dev/null
+++ b/MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs
@@ -0,0 +1,14 @@
+using System.Text.Json.Serialization;
+using LibMatrix.EventTypes;
+using LibMatrix.Interfaces;
+
+namespace MatrixRoomUtils.LibDMSpace.StateEvents; 
+
+[MatrixEvent(EventName = EventId)]
+public class DMSpaceInfo : EventContent {
+    public const string EventId = "gay.rory.dm_space_info";
+
+    [JsonPropertyName("is_layered")]
+    public bool LayerByUser { get; set; }
+    
+}
\ No newline at end of file