summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-02-19 10:06:17 +0000
committerDavid Baker <dave@matrix.org>2015-02-19 10:06:17 +0000
commitb457f1677c0798894140eb6b7e091800c7c7bf2d (patch)
tree91b39669002d755304b4e3c29f40952fecf545cd
parentUpdate CHANGES (diff)
downloadsynapse-b457f1677c0798894140eb6b7e091800c7c7bf2d.tar.xz
Send room ID in http notifications so clients know which room to go to if the user responds to the notification.
Diffstat (limited to '')
-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 5788db4eba..202fcb42f4 100644
--- a/synapse/push/httppusher.py
+++ b/synapse/push/httppusher.py
@@ -66,6 +66,7 @@ class HttpPusher(Pusher):
         d = {
             'notification': {
                 'id': event['event_id'],
+                'room_id': event['room_id'],
                 'type': event['type'],
                 'sender': event['user_id'],
                 'counts': {  # -- we don't mark messages as read yet so