summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2017-09-18 15:58:38 +0100
committerDavid Baker <dave@matrix.org>2017-09-18 15:58:38 +0100
commit436ee0a2ea9782d003c0ab8288c50c6d3f46bdb1 (patch)
treedb838a32cf7eaef650b2b0fc3893c6e599595516
parentUse .get - it's much shorter (diff)
downloadsynapse-436ee0a2ea9782d003c0ab8288c50c6d3f46bdb1.tar.xz
Also include the room_id
as really it's part of the event ID
-rw-r--r--synapse/push/httppusher.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py
index b4140e08a8..62c41cd9db 100644
--- a/synapse/push/httppusher.py
+++ b/synapse/push/httppusher.py
@@ -248,6 +248,7 @@ class HttpPusher(object):
             d = {
                 'notification': {
                     'event_id': event.event_id,
+                    'room_id': event.room_id,
                     'counts': {
                         'unread': badge,
                     },