mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
Update comments
This commit is contained in:
parent
2e9ee30969
commit
f96020550f
1 changed files with 3 additions and 2 deletions
|
@ -103,9 +103,10 @@ class Auth(object):
|
||||||
|
|
||||||
# Check the sender's domain has signed the event
|
# Check the sender's domain has signed the event
|
||||||
if not event.signatures.get(sender_domain):
|
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
|
# 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:
|
if not is_invite_via_3pid:
|
||||||
raise AuthError(403, "Event not signed by sender's server")
|
raise AuthError(403, "Event not signed by sender's server")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue