summary refs log tree commit diff
path: root/synapse/push/action_generator.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-06-01 11:08:45 +0100
committerErik Johnston <erik@matrix.org>2016-06-01 15:25:25 +0100
commitc8285564a3772db387fd5c94b1a82329dc320e36 (patch)
tree25785e1481ccd25d5931dea6a2655d65bee8cdb6 /synapse/push/action_generator.py
parentAdd get_users_with_read_receipts_in_room cache (diff)
downloadsynapse-c8285564a3772db387fd5c94b1a82329dc320e36.tar.xz
Use state to calculate get_users_in_room
Diffstat (limited to 'synapse/push/action_generator.py')
-rw-r--r--synapse/push/action_generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/action_generator.py b/synapse/push/action_generator.py
index 9b208668b6..46e768e35c 100644
--- a/synapse/push/action_generator.py
+++ b/synapse/push/action_generator.py
@@ -40,7 +40,7 @@ class ActionGenerator:
     def handle_push_actions_for_event(self, event, context):
         with Measure(self.clock, "handle_push_actions_for_event"):
             bulk_evaluator = yield evaluator_for_event(
-                event, self.hs, self.store
+                event, self.hs, self.store, context.current_state
             )
 
             actions_by_user = yield bulk_evaluator.action_for_event_by_user(