summary refs log tree commit diff
path: root/MxApiExtensions/Controllers/Client/SyncController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MxApiExtensions/Controllers/Client/SyncController.cs')
-rw-r--r--MxApiExtensions/Controllers/Client/SyncController.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/MxApiExtensions/Controllers/Client/SyncController.cs b/MxApiExtensions/Controllers/Client/SyncController.cs
index 3a759fc..4a33b92 100644
--- a/MxApiExtensions/Controllers/Client/SyncController.cs
+++ b/MxApiExtensions/Controllers/Client/SyncController.cs
@@ -196,7 +196,10 @@ public class SyncController(ILogger<SyncController> logger, MxApiExtensionsConfi
             try {
                 syncMsg.AccountData.Events.Add(new() {
                     Type = key,
-                    RawContent = await syncState.Homeserver.GetAccountDataAsync<JsonObject>(key)
+                    RawContent = await syncState.Homeserver.GetAccountDataAsync<JsonObject>(key),
+                    RoomId = null, //TODO: implement
+                    Sender = null,
+                    EventId = null
                 });
             }
             catch { }