diff options
author | Erik Johnston <erikj@jki.re> | 2016-08-30 10:50:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-30 10:50:37 +0100 |
commit | 55fc17cf4bdc550ece6feb5d4e5bdf10ab452010 (patch) | |
tree | 16ba7b22e28eedcb4e42043e1487c285fc89546a /synapse/push | |
parent | Merge pull request #1050 from matrix-org/erikj/fix_device_sync (diff) | |
parent | Add to slave store (diff) | |
download | synapse-55fc17cf4bdc550ece6feb5d4e5bdf10ab452010.tar.xz |
Merge pull request #1049 from matrix-org/erikj/presence_users_in_room
Use state handler instead of get_users_in_room/get_joined_hosts
Diffstat (limited to 'synapse/push')
-rw-r--r-- | synapse/push/bulk_push_rule_evaluator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/bulk_push_rule_evaluator.py b/synapse/push/bulk_push_rule_evaluator.py index 8d49beaec5..51cb21ee9d 100644 --- a/synapse/push/bulk_push_rule_evaluator.py +++ b/synapse/push/bulk_push_rule_evaluator.py @@ -87,7 +87,7 @@ class BulkPushRuleEvaluator: ) room_members = yield self.store.get_joined_users_from_context( - event.room_id, context, + event.room_id, context.state_group, context.current_state_ids ) evaluator = PushRuleEvaluatorForEvent(event, len(room_members)) |