From 1ce425a71b95ee6d310d46b21c578dd3c22bcd23 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 15 Apr 2022 15:28:44 -0600 Subject: [PATCH 1/2] Fix grammatical error in error message --- synapse/storage/databases/main/state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From cdaf0620b35817c7297b74017b7d9cffca0d9f99 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 15 Apr 2022 15:31:56 -0600 Subject: [PATCH 2/2] changelog --- changelog.d/12483.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/12483.misc 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.