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:
parent
faf4f67847
commit
b457f1677c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue