diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-07-14 09:13:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 14:13:40 +0100 |
commit | eb3beb8f12a5ee93e19eacf0f03c6bcde18999fe (patch) | |
tree | 322b6710f69369a596d85076ef3e57f3c2ac2708 /synapse/event_auth.py | |
parent | Fix messages from multiple senders in historical chunk (MSC2716) (#10276) (diff) | |
download | synapse-eb3beb8f12a5ee93e19eacf0f03c6bcde18999fe.tar.xz |
Add type hints and comments to event auth code. (#10393)
Diffstat (limited to '')
-rw-r--r-- | synapse/event_auth.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/event_auth.py b/synapse/event_auth.py index 89bcf81515..a3df6cfcc1 100644 --- a/synapse/event_auth.py +++ b/synapse/event_auth.py @@ -48,6 +48,9 @@ def check( room_version_obj: the version of the room event: the event being checked. auth_events: the existing room state. + do_sig_check: True if it should be verified that the sending server + signed the event. + do_size_check: True if the size of the event fields should be verified. Raises: AuthError if the checks fail |