Send room ID in http notifications so clients know which room to go to if the user responds to the notification.

This commit is contained in:
David Baker 2015-02-19 10:06:17 +00:00
parent faf4f67847
commit b457f1677c
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ class HttpPusher(Pusher):
d = { d = {
'notification': { 'notification': {
'id': event['event_id'], 'id': event['event_id'],
'room_id': event['room_id'],
'type': event['type'], 'type': event['type'],
'sender': event['user_id'], 'sender': event['user_id'],
'counts': { # -- we don't mark messages as read yet so 'counts': { # -- we don't mark messages as read yet so