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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
1 deletions
-
changelog.d/12483.misc
-
synapse/storage/databases/main/state.py
|
|
@@ -0,0 +1 @@ |
|
|
|
Fix grammatical error in federation error response when the room version of a room is unknown. |
|
|
@@ -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 |
|
|
|
|
|
|
|