Make get_if_app_services_interested_in_user faster

This commit is contained in:
Erik Johnston 2017-05-18 16:34:41 +01:00
parent c57789d138
commit 760625acba
4 changed files with 34 additions and 13 deletions

View file

@ -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