summary refs log tree commit diff
path: root/MxApiExtensions/Classes/SyncState.cs
diff options
context:
space:
mode:
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;
     }