diff options
author | Rory& <root@rory.gay> | 2024-05-30 08:02:40 +0000 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-05-30 08:02:40 +0000 |
commit | ae18c049338dfcb33f721eeeb0a05571e8bd87a9 (patch) | |
tree | 9e73ae6a42a310efe43c6a9ed7d13ce19e0cbde5 /Tests/LibMatrix.HomeserverEmulator/Controllers/Rooms/RoomAccountDataController.cs | |
parent | Log warning if registering a duplicate type (diff) | |
download | LibMatrix-ae18c049338dfcb33f721eeeb0a05571e8bd87a9.tar.xz |
Rename StateEvent to LegacyMatrixEvent
Diffstat (limited to '')
-rw-r--r-- | Tests/LibMatrix.HomeserverEmulator/Controllers/Rooms/RoomAccountDataController.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/LibMatrix.HomeserverEmulator/Controllers/Rooms/RoomAccountDataController.cs b/Tests/LibMatrix.HomeserverEmulator/Controllers/Rooms/RoomAccountDataController.cs index bac803f..64d7353 100644 --- a/Tests/LibMatrix.HomeserverEmulator/Controllers/Rooms/RoomAccountDataController.cs +++ b/Tests/LibMatrix.HomeserverEmulator/Controllers/Rooms/RoomAccountDataController.cs @@ -38,7 +38,7 @@ public class RoomAccountDataController(ILogger<RoomAccountDataController> logger if (!room.AccountData.ContainsKey(user.UserId)) room.AccountData[user.UserId] = new(); - room.AccountData[user.UserId].Add(new StateEventResponse() { + room.AccountData[user.UserId].Add(new LegacyMatrixEventResponse() { Type = "m.fully_read", StateKey = user.UserId, RawContent = new() { @@ -46,7 +46,7 @@ public class RoomAccountDataController(ILogger<RoomAccountDataController> logger } }); - room.AccountData[user.UserId].Add(new StateEventResponse() { + room.AccountData[user.UserId].Add(new LegacyMatrixEventResponse() { Type = "m.read", StateKey = user.UserId, RawContent = new() { @@ -54,7 +54,7 @@ public class RoomAccountDataController(ILogger<RoomAccountDataController> logger } }); - room.AccountData[user.UserId].Add(new StateEventResponse() { + room.AccountData[user.UserId].Add(new LegacyMatrixEventResponse() { Type = "m.read.private", StateKey = user.UserId, RawContent = new() { |