Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix inconsistent spelling of 'M_UNRECOGNIZED'. (#12665)
Browse files Browse the repository at this point in the history
  • Loading branch information
progval authored May 9, 2022
1 parent a00462d commit bf0c3ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/12665.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix spelling of `M_UNRECOGNIZED` in comments.
2 changes: 1 addition & 1 deletion synapse/federation/federation_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ def _is_unknown_endpoint(
#
# 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.
Expand Down

0 comments on commit bf0c3ca

Please sign in to comment.