diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-06-17 17:39:38 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-06-17 17:39:38 +0100 |
commit | 33ea87be3926c2cf5bd57170a808a20217433ad6 (patch) | |
tree | bf0e7c1953c2b767f184c11369fbdee09c210143 /synapse | |
parent | Changelog (diff) | |
download | synapse-33ea87be3926c2cf5bd57170a808a20217433ad6.tar.xz |
Make check_threepid_can_be_invited async
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/events/third_party_rules.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/events/third_party_rules.py b/synapse/events/third_party_rules.py index 768cfa8e9c..50ceeb1e8e 100644 --- a/synapse/events/third_party_rules.py +++ b/synapse/events/third_party_rules.py @@ -85,6 +85,7 @@ class ThirdPartyEventRules(object): 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. |