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

This commit is contained in:
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.