summary refs log tree commit diff
path: root/MxApiExtensions/Classes/SyncState.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-01-08 05:38:40 +0100
committerRory& <root@rory.gay>2024-01-08 05:38:40 +0100
commit3c0c7b2e56a24bda06b8c567e5608546898c99d7 (patch)
tree25f74f7e12b61212bd31399e47ad823cecdeaf82 /MxApiExtensions/Classes/SyncState.cs
parentReformat (diff)
downloadMxApiExtensions-3c0c7b2e56a24bda06b8c567e5608546898c99d7.tar.xz
LibMatrix update
Diffstat (limited to 'MxApiExtensions/Classes/SyncState.cs')
-rw-r--r--MxApiExtensions/Classes/SyncState.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/MxApiExtensions/Classes/SyncState.cs b/MxApiExtensions/Classes/SyncState.cs
index 50aa0bd..70147d8 100644
--- a/MxApiExtensions/Classes/SyncState.cs
+++ b/MxApiExtensions/Classes/SyncState.cs
@@ -1,6 +1,7 @@
 using System.Collections.Concurrent;
 using System.Text.Json.Serialization;
 using LibMatrix;
+using LibMatrix.EventTypes.Spec.Ephemeral;
 using LibMatrix.EventTypes.Spec.State;
 using LibMatrix.Helpers;
 using LibMatrix.Homeservers;
@@ -69,7 +70,9 @@ public class SyncState {
             Type = "m.presence",
             StateKey = "",
             Sender = Homeserver.WhoAmI.UserId,
-            OriginServerTs = 0
+            OriginServerTs = 0,
+            RoomId = null, //TODO: implement
+            EventId = null
         });
         return existingResponse;
     }