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-03 10:58:27 +0100
committerErik Johnston <erik@matrix.org>2016-06-03 10:58:27 +0100
commit065e739d6e1de2f3dea1ebfc63065b08bda37be4 (patch)
treea3acb2d652cd4d13b37b4ecfacc9c4de6bb3a9fb /synapse/push/action_generator.py
parentMerge pull request #809 from matrix-org/erikj/cache_receipts_in_room (diff)
parentUse state to calculate get_users_in_room (diff)
downloadsynapse-065e739d6e1de2f3dea1ebfc63065b08bda37be4.tar.xz
Merge pull request #811 from matrix-org/erikj/state_users_in_room
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(