Fix inconsistent spelling of 'M_UNRECOGNIZED'. (#12665)

pull/12683/head
Val Lorentz 2022-05-09 22:29:07 +02:00 committed by GitHub
parent a00462dd99
commit bf0c3ca20a
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/12665.misc Normal file
View File

@ -0,0 +1 @@
Fix spelling of `M_UNRECOGNIZED` in comments.

View File

@ -618,7 +618,7 @@ class FederationClient(FederationBase):
#
# Dendrite returns a 404 (with a body of "404 page not found");
# Conduit returns a 404 (with no body); and Synapse returns a 400
# with M_UNRECOGNISED.
# with M_UNRECOGNIZED.
#
# This needs to be rather specific as some endpoints truly do return 404
# errors.