Skip to content

Send message id in Push Notification payload #8996

@cardoso

Description

@cardoso

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/"
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions