Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Make check_threepid_can_be_invited async
Browse files Browse the repository at this point in the history
  • Loading branch information
babolivier committed Jun 17, 2019
1 parent 9ce4220 commit 33ea87b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions synapse/events/third_party_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def on_create_room(self, requester, config, is_requester_admin):
requester, config, is_requester_admin
)

@defer.inlineCallbacks
def check_threepid_can_be_invited(self, medium, address, room_id):
"""Check if a provided 3PID can be invited in the given room.
Expand Down

0 comments on commit 33ea87b

Please sign in to comment.