mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-20 08:54:07 -04:00
Make check_threepid_can_be_invited async
This commit is contained in:
parent
9ce4220d6c
commit
33ea87be39
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ class ThirdPartyEventRules(object):
|
||||||
requester, config, is_requester_admin
|
requester, config, is_requester_admin
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@defer.inlineCallbacks
|
||||||
def check_threepid_can_be_invited(self, medium, address, room_id):
|
def check_threepid_can_be_invited(self, medium, address, room_id):
|
||||||
"""Check if a provided 3PID can be invited in the given room.
|
"""Check if a provided 3PID can be invited in the given room.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue