summary refs log tree commit diff
diff options
context:
space:
mode:
-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.