summary refs log tree commit diff
path: root/synapse/push/action_generator.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-12-16 18:42:09 +0000
committerDavid Baker <dave@matrix.org>2015-12-16 18:42:09 +0000
commit42ad49f5b75c2c645c4060026c21c5572f5b1063 (patch)
treec5ca59c9046ec92bcd6ec6d7ebf9b492fa86bbb0 /synapse/push/action_generator.py
parentStore nothing instead of ['dont_notify'] for events with no notification requ... (diff)
downloadsynapse-42ad49f5b75c2c645c4060026c21c5572f5b1063.tar.xz
still very WIP, but now sends unread_notifications_count in the room object on sync (only actually corrrect in a full sync: hardcoded to 0 in incremental syncs).
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 a72a7d703c..1c7cd31666 100644
--- a/synapse/push/action_generator.py
+++ b/synapse/push/action_generator.py
@@ -45,5 +45,5 @@ class ActionGenerator:
             logger.info("actions for user %s: %s", uid, actions)
             if len(actions):
                 self.store.set_actions_for_event(
-                    event['event_id'], uid, None, actions
+                    event, uid, None, actions
                 )