summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/12483.misc1
-rw-r--r--synapse/storage/databases/main/state.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/12483.misc b/changelog.d/12483.misc
new file mode 100644
index 0000000000..88c6e3e465
--- /dev/null
+++ b/changelog.d/12483.misc
@@ -0,0 +1 @@
+Fix grammatical error in federation error response when the room version of a room is unknown.
diff --git a/synapse/storage/databases/main/state.py b/synapse/storage/databases/main/state.py
index eba35f3700..7a1b013fa3 100644
--- a/synapse/storage/databases/main/state.py
+++ b/synapse/storage/databases/main/state.py
@@ -130,7 +130,7 @@ class StateGroupWorkerStore(EventsWorkerStore, SQLBaseStore):
         )
 
         if room_version is None:
-            raise NotFoundError("Could not room_version for %s" % (room_id,))
+            raise NotFoundError("Could not find room_version for %s" % (room_id,))
 
         return room_version