diff --git a/changelog.d/12483.misc b/changelog.d/12483.misc new file mode 100644 index 000000000000..88c6e3e465c8 --- /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 eba35f37000d..7a1b013fa3ac 100644 --- a/synapse/storage/databases/main/state.py +++ b/synapse/storage/databases/main/state.py @@ -130,7 +130,7 @@ def get_room_version_id_txn(self, txn: LoggingTransaction, room_id: str) -> str: ) 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