Describe the problem
Notifications currently only contain the Event ID and Room ID.
The message content is omitted.
This leads to notifications on android to contain only the Room a new message appeared in, but not the message content.
Describe the solution you'd like
A starting point is to add an option to add more metadata and message content to the notification.
This can be done by changing the pusher format by omitting event_id_only as the pusher format, and specifying none.
This should be optional because of the privacy implications. I think it would add more data to a notification that a push gateway or FCM could be able to read. As I interpret it, for unencrypted messages, the message content is revealed to the push gateway and FCM. (Please correct me if I'm wrong)
Another challenge is decrypting notifications. As the key material lives in the sable client, there is probably no easy way to access it. The matrix sdk also does not live in the context we have access to while receiving a notification, so suggestions wanted :)
Alternatives considered
No response
Additional context
No response
Describe the problem
Notifications currently only contain the Event ID and Room ID.
The message content is omitted.
This leads to notifications on android to contain only the Room a new message appeared in, but not the message content.
Describe the solution you'd like
A starting point is to add an option to add more metadata and message content to the notification.
This can be done by changing the pusher format by omitting
event_id_onlyas the pusher format, and specifying none.This should be optional because of the privacy implications. I think it would add more data to a notification that a push gateway or FCM could be able to read. As I interpret it, for unencrypted messages, the message content is revealed to the push gateway and FCM. (Please correct me if I'm wrong)
Another challenge is decrypting notifications. As the key material lives in the sable client, there is probably no easy way to access it. The matrix sdk also does not live in the context we have access to while receiving a notification, so suggestions wanted :)
Alternatives considered
No response
Additional context
No response