about summary refs log tree commit diff
path: root/Utilities/LibMatrix.HomeserverEmulator/Services/RoomStore.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-09-16 08:43:42 +0200
committerRory& <root@rory.gay>2024-12-15 02:35:05 +0100
commitaf48e92d735a1f4d76aedd75460c8adbe1c882ad (patch)
tree2902a029ce82773137451e7b96268a17a418017a /Utilities/LibMatrix.HomeserverEmulator/Services/RoomStore.cs
parentmeow (diff)
downloadLibMatrix-af48e92d735a1f4d76aedd75460c8adbe1c882ad.tar.xz
Sync optimisation changes
Diffstat (limited to 'Utilities/LibMatrix.HomeserverEmulator/Services/RoomStore.cs')
-rw-r--r--Utilities/LibMatrix.HomeserverEmulator/Services/RoomStore.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/LibMatrix.HomeserverEmulator/Services/RoomStore.cs b/Utilities/LibMatrix.HomeserverEmulator/Services/RoomStore.cs

index 5cdc3ab..c798cce 100644 --- a/Utilities/LibMatrix.HomeserverEmulator/Services/RoomStore.cs +++ b/Utilities/LibMatrix.HomeserverEmulator/Services/RoomStore.cs
@@ -137,7 +137,7 @@ public class RoomStore { public Room(string roomId) { if (string.IsNullOrWhiteSpace(roomId)) throw new ArgumentException("Value cannot be null or whitespace.", nameof(roomId)); - if (roomId[0] != '!') throw new ArgumentException("Room ID must start with !", nameof(roomId)); + if (roomId[0] != '!') throw new ArgumentException($"Room ID must start with '!', provided value: {roomId ?? "null"}", nameof(roomId)); RoomId = roomId; Timeline = new(); AccountData = new();