Skip to content
Snippets Groups Projects
Unverified Commit 33ea87be authored by Brendan Abolivier's avatar Brendan Abolivier
Browse files

Make check_threepid_can_be_invited async

parent 9ce4220d
No related branches found
No related tags found
No related merge requests found
...@@ -85,6 +85,7 @@ class ThirdPartyEventRules(object): ...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment