From b457f1677c0798894140eb6b7e091800c7c7bf2d Mon Sep 17 00:00:00 2001
From: David Baker <dave@matrix.org>
Date: Thu, 19 Feb 2015 10:06:17 +0000
Subject: [PATCH] Send room ID in http notifications so clients know which room
 to go to if the user responds to the notification.

---
 synapse/push/httppusher.py | 1 +
 1 file changed, 1 insertion(+)

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
-- 
GitLab