diff options
author | David Baker <dave@matrix.org> | 2015-02-19 10:06:17 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-02-19 10:06:17 +0000 |
commit | b457f1677c0798894140eb6b7e091800c7c7bf2d (patch) | |
tree | 91b39669002d755304b4e3c29f40952fecf545cd /synapse | |
parent | Update CHANGES (diff) | |
download | synapse-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 'synapse')
-rw-r--r-- | synapse/push/httppusher.py | 1 |
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 |