Browse Source

Fix grammatical error in error message (#12483)

* Fix grammatical error in error message

* changelog
tags/v1.58.0rc1
Travis Ralston 2 years ago
committed by GitHub
parent
commit
f8d3ee9570
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      changelog.d/12483.misc
  2. +1
    -1
      synapse/storage/databases/main/state.py

+ 1
- 0
changelog.d/12483.misc View File

@@ -0,0 +1 @@
Fix grammatical error in federation error response when the room version of a room is unknown.

+ 1
- 1
synapse/storage/databases/main/state.py View File

@@ -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



Loading…
Cancel
Save