diff options
author | Rory& <root@rory.gay> | 2024-03-22 16:38:53 +0000 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-03-22 16:38:53 +0000 |
commit | 2b566a31b68f14d51faae61cbfbe359d0691a890 (patch) | |
tree | bfa1c6cc563f904bcae7c3461df8eb79e4e50290 /Tests/LibMatrix.HomeserverEmulator/Controllers/Rooms/RoomStateController.cs | |
parent | New messagebuilder stuff, table-based help command (diff) | |
download | LibMatrix-2b566a31b68f14d51faae61cbfbe359d0691a890.tar.xz |
Changes
Diffstat (limited to 'Tests/LibMatrix.HomeserverEmulator/Controllers/Rooms/RoomStateController.cs')
-rw-r--r-- | Tests/LibMatrix.HomeserverEmulator/Controllers/Rooms/RoomStateController.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/LibMatrix.HomeserverEmulator/Controllers/Rooms/RoomStateController.cs b/Tests/LibMatrix.HomeserverEmulator/Controllers/Rooms/RoomStateController.cs index 593f5b0..46c3062 100644 --- a/Tests/LibMatrix.HomeserverEmulator/Controllers/Rooms/RoomStateController.cs +++ b/Tests/LibMatrix.HomeserverEmulator/Controllers/Rooms/RoomStateController.cs @@ -101,6 +101,8 @@ public class RoomStateController(ILogger<RoomStateController> logger, TokenServi var evt = room.SetStateInternal(request.ToStateEvent(user, room)); evt.Type = eventType; evt.StateKey = stateKey; - return new EventIdResponse(evt); + return new EventIdResponse(){ + EventId = evt.EventId + }; } } \ No newline at end of file |