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

Commit 33ea87b

Browse files
committed
Make check_threepid_can_be_invited async
1 parent 9ce4220 commit 33ea87b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

synapse/events/third_party_rules.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def on_create_room(self, requester, config, is_requester_admin):
8585
requester, config, is_requester_admin
8686
)
8787

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

0 commit comments

Comments
 (0)