summary refs log tree commit diff
diff options
context:
space:
mode:
authorVal Lorentz <progval+github@progval.net>2022-05-09 22:29:07 +0200
committerGitHub <noreply@github.com>2022-05-09 20:29:07 +0000
commitbf0c3ca20a79136df962645d952ac75ce9d3615f (patch)
tree171d0084a564dbd9374d13acfc3047ac72a0b1cf
parentImplement cancellation support/protection for module callbacks (#12568) (diff)
downloadsynapse-bf0c3ca20a79136df962645d952ac75ce9d3615f.tar.xz
Fix inconsistent spelling of 'M_UNRECOGNIZED'. (#12665)
-rw-r--r--changelog.d/12665.misc1
-rw-r--r--synapse/federation/federation_client.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/12665.misc b/changelog.d/12665.misc
new file mode 100644

index 0000000000..37b96fea37 --- /dev/null +++ b/changelog.d/12665.misc
@@ -0,0 +1 @@ +Fix spelling of `M_UNRECOGNIZED` in comments. diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py
index b5e0b84cbc..17eff60909 100644 --- a/synapse/federation/federation_client.py +++ b/synapse/federation/federation_client.py
@@ -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.