summary refs log tree commit diff
diff options
context:
space:
mode:
authorTravis Ralston <travisr@matrix.org>2022-04-18 12:41:55 -0600
committerGitHub <noreply@github.com>2022-04-18 12:41:55 -0600
commitf8d3ee95706100e982f30f4c04fc3df8de4d4212 (patch)
treeade694b17f3daa32369a05849809e0515064f843
parentAdd a manual documenting config file options (#12368) (diff)
downloadsynapse-f8d3ee95706100e982f30f4c04fc3df8de4d4212.tar.xz
Fix grammatical error in error message (#12483)
* Fix grammatical error in error message

* changelog
-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