-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Send message id in Push Notification payload #8996
Copy link
Copy link
Closed
Labels
Description
Right now we can't do things like direct the user to the specific message that caused the notification because we don't have its id inside the "ejson" field in the Push Notification payload.
As you can see, we have the user's id and the room's id, but not the message's id:
"ejson": {
"sender": {
"name" : "Matheus Cardoso",
"username" : "cardoso",
"_id" : "f7Z6Jziobq3hx879G"
},
"name": "cardoso-test",
"rid": "pjPWpytLNKxj3M6ih",
"type": "p",
"host": "https://unstable.rocket.chat/"
}Reactions are currently unavailable