diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-06-17 17:39:38 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-06-17 18:10:00 +0100 |
commit | 9bb7cec90fdc28df63f010318149a4387007a506 (patch) | |
tree | 321ca9264b5cc71fe45ff85c536a803096682e8a /synapse/events | |
parent | Changelog (diff) | |
download | synapse-9bb7cec90fdc28df63f010318149a4387007a506.tar.xz |
Make check_threepid_can_be_invited async
Diffstat (limited to 'synapse/events')
-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. |