summary refs log tree commit diff
path: root/synapse/push/bulk_push_rule_evaluator.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-22 16:22:04 +0100
committerErik Johnston <erik@matrix.org>2017-05-22 16:22:04 +0100
commit6489455bed4c46ee8ffa09a933e8a3289f2ae62a (patch)
tree64204f67863a70b699b55fb57febf663ff3b69d2 /synapse/push/bulk_push_rule_evaluator.py
parentRemove spurious log level guards (diff)
downloadsynapse-6489455bed4c46ee8ffa09a933e8a3289f2ae62a.tar.xz
Comment
Diffstat (limited to 'synapse/push/bulk_push_rule_evaluator.py')
-rw-r--r--synapse/push/bulk_push_rule_evaluator.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/push/bulk_push_rule_evaluator.py b/synapse/push/bulk_push_rule_evaluator.py
index 354a2e64c3..9a96e6fe8f 100644
--- a/synapse/push/bulk_push_rule_evaluator.py
+++ b/synapse/push/bulk_push_rule_evaluator.py
@@ -321,6 +321,8 @@ class RulesForRoom(object):
             for row in rows
         }
 
+        # If the event is a join event then it will be in current state evnts
+        # map but not in the DB, so we have to explicitly insert it.
         if event.type == EventTypes.Member:
             for event_id in member_event_ids.itervalues():
                 if event_id == event.event_id: