summary refs log tree commit diff
path: root/synapse/api/auth.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-22 12:54:22 +0100
committerErik Johnston <erik@matrix.org>2016-09-22 12:54:22 +0100
commitf96020550ff7f03d1106f23ea049cb1a1b925574 (patch)
tree458b080738079f24a93b03aab3b3f42bf75e15b8 /synapse/api/auth.py
parentAdd comments (diff)
downloadsynapse-f96020550ff7f03d1106f23ea049cb1a1b925574.tar.xz
Update comments
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r--synapse/api/auth.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 5bd250992a..e75fd518be 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -103,9 +103,10 @@ class Auth(object):
 
                 # Check the sender's domain has signed the event
                 if not event.signatures.get(sender_domain):
-                    # We allow invites via 3pid to have a sender from a differnt
+                    # We allow invites via 3pid to have a sender from a different
                     # HS, as the sender must match the sender of the original
-                    # 3pid invite. This is checked further down.
+                    # 3pid invite. This is checked further down with the
+                    # other dedicated membership checks.
                     if not is_invite_via_3pid:
                         raise AuthError(403, "Event not signed by sender's server")