diff options
author | Erik Johnston <erik@matrix.org> | 2020-01-20 17:34:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-20 17:34:13 +0000 |
commit | 0f6e525be309b65e07066c071b2f55ebbaac6862 (patch) | |
tree | 13f39ea5bf92969c3b206e73b1872085550c0657 /synapse/event_auth.py | |
parent | Fix changing password via user admin API. (#6730) (diff) | |
download | synapse-0f6e525be309b65e07066c071b2f55ebbaac6862.tar.xz |
Fixup synapse.api to pass mypy (#6733)
Diffstat (limited to 'synapse/event_auth.py')
-rw-r--r-- | synapse/event_auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/event_auth.py b/synapse/event_auth.py index 1033e5e121..e3a1ba47a0 100644 --- a/synapse/event_auth.py +++ b/synapse/event_auth.py @@ -634,7 +634,7 @@ def get_public_keys(invite_event): return public_keys -def auth_types_for_event(event) -> Set[Tuple[str]]: +def auth_types_for_event(event) -> Set[Tuple[str, str]]: """Given an event, return a list of (EventType, StateKey) that may be needed to auth the event. The returned list may be a superset of what would actually be required depending on the full state of the room. |