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

Commit bf0c3ca

Browse files
authored
Fix inconsistent spelling of 'M_UNRECOGNIZED'. (#12665)
1 parent a00462d commit bf0c3ca

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/12665.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix spelling of `M_UNRECOGNIZED` in comments.

synapse/federation/federation_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ def _is_unknown_endpoint(
618618
#
619619
# Dendrite returns a 404 (with a body of "404 page not found");
620620
# Conduit returns a 404 (with no body); and Synapse returns a 400
621-
# with M_UNRECOGNISED.
621+
# with M_UNRECOGNIZED.
622622
#
623623
# This needs to be rather specific as some endpoints truly do return 404
624624
# errors.

0 commit comments

Comments
 (0)