mirror of
https://mau.dev/maunium/synapse.git
synced 2024-09-02 15:41:57 +00:00
Update comment
This commit is contained in:
parent
655ce037fd
commit
ff2f65d737
@ -227,9 +227,7 @@ def _check_sigs_on_pdus(keyring, room_version, pdus):
|
|||||||
|
|
||||||
# we want to check that the event is signed by:
|
# we want to check that the event is signed by:
|
||||||
#
|
#
|
||||||
# (a) the server which created the event_id
|
# (a) the sender's server
|
||||||
#
|
|
||||||
# (b) the sender's server.
|
|
||||||
#
|
#
|
||||||
# - except in the case of invites created from a 3pid invite, which are exempt
|
# - except in the case of invites created from a 3pid invite, which are exempt
|
||||||
# from this check, because the sender has to match that of the original 3pid
|
# from this check, because the sender has to match that of the original 3pid
|
||||||
@ -243,6 +241,8 @@ def _check_sigs_on_pdus(keyring, room_version, pdus):
|
|||||||
# and signatures are *supposed* to be valid whether or not an event has been
|
# and signatures are *supposed* to be valid whether or not an event has been
|
||||||
# redacted. But this isn't the worst of the ways that 3pid invites are broken.
|
# redacted. But this isn't the worst of the ways that 3pid invites are broken.
|
||||||
#
|
#
|
||||||
|
# (b) for V1 and V2 rooms, the server which created the event_id
|
||||||
|
#
|
||||||
# let's start by getting the domain for each pdu, and flattening the event back
|
# let's start by getting the domain for each pdu, and flattening the event back
|
||||||
# to JSON.
|
# to JSON.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user