summary refs log tree commit diff
path: root/MxApiExtensions/Controllers/Client/Room/RoomsSendMessageController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MxApiExtensions/Controllers/Client/Room/RoomsSendMessageController.cs')
-rw-r--r--MxApiExtensions/Controllers/Client/Room/RoomsSendMessageController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MxApiExtensions/Controllers/Client/Room/RoomsSendMessageController.cs b/MxApiExtensions/Controllers/Client/Room/RoomsSendMessageController.cs
index 369e7cc..4bd631e 100644
--- a/MxApiExtensions/Controllers/Client/Room/RoomsSendMessageController.cs
+++ b/MxApiExtensions/Controllers/Client/Room/RoomsSendMessageController.cs
@@ -62,7 +62,7 @@ public class RoomsSendMessageController(ILogger<LoginController> logger, UserCon
             TypedContent = MessageFormatter.FormatSuccess("Thinking..."),
             OriginServerTs = DateTimeOffset.Now.ToUnixTimeMilliseconds(),
             Unsigned = new() {
-                Age = 1
+                ["age"] = 1
             },
             RoomId = roomId,
             EventId = "$" + string.Join("", Random.Shared.GetItems("abcdefghijklmnopqrstuvwxyzABCDEFGHIJLKMNOPQRSTUVWXYZ0123456789".ToCharArray(), 100))