mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 06:24:49 -04:00
Adds misc missing type hints (#11953)
This commit is contained in:
parent
c3db7a0b59
commit
a121507cfe
9 changed files with 48 additions and 41 deletions
|
@ -763,7 +763,9 @@ def get_named_level(auth_events: StateMap[EventBase], name: str, default: int) -
|
|||
return default
|
||||
|
||||
|
||||
def _verify_third_party_invite(event: EventBase, auth_events: StateMap[EventBase]):
|
||||
def _verify_third_party_invite(
|
||||
event: EventBase, auth_events: StateMap[EventBase]
|
||||
) -> bool:
|
||||
"""
|
||||
Validates that the invite event is authorized by a previous third-party invite.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue