mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 17:46:08 +03:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue