Fix grammatical error in error message (#12483)

* Fix grammatical error in error message

* changelog
This commit is contained in:
Travis Ralston 2022-04-18 12:41:55 -06:00 committed by GitHub
parent 3c758d9808
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
changelog.d/12483.misc Normal file
View File

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

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