summary refs log tree commit diff
path: root/synapse/storage/push_rule.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-18 16:34:41 +0100
committerErik Johnston <erik@matrix.org>2017-05-18 16:34:44 +0100
commit760625acbaef9ae7032ba5e59e91979f454febef (patch)
tree0905b0c2d5eaf87c06b84fbe9a31385ab545b88a /synapse/storage/push_rule.py
parentRemove size of push get_rules cache (diff)
downloadsynapse-760625acbaef9ae7032ba5e59e91979f454febef.tar.xz
Make get_if_app_services_interested_in_user faster
Diffstat (limited to 'synapse/storage/push_rule.py')
-rw-r--r--synapse/storage/push_rule.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/push_rule.py b/synapse/storage/push_rule.py
index 65bad3fad6..0a819d32c5 100644
--- a/synapse/storage/push_rule.py
+++ b/synapse/storage/push_rule.py
@@ -163,7 +163,7 @@ class PushRuleStore(SQLBaseStore):
         local_users_in_room = set(
             u for u in users_in_room
             if self.hs.is_mine_id(u)
-            and not self.get_if_app_services_interested_in_user(u, exclusive=True)
+            and not self.get_if_app_services_interested_in_user(u)
         )
 
         # users in the room who have pushers need to get push rules run because