From bf0c3ca20a79136df962645d952ac75ce9d3615f Mon Sep 17 00:00:00 2001 From: Val Lorentz Date: Mon, 9 May 2022 22:29:07 +0200 Subject: [PATCH] Fix inconsistent spelling of 'M_UNRECOGNIZED'. (#12665) --- changelog.d/12665.misc | 1 + synapse/federation/federation_client.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/12665.misc 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.