element-hq / element-x-android

Android Matrix messenger application using the Matrix Rust Sdk and Jetpack Compose
GNU Affero General Public License v3.0
1.1k stars 156 forks source link

Remove notification if message is read on different device #3941

Open pludi opened 2 days ago

pludi commented 2 days ago

Your use case

What would you like to do?

When getting notified of a message and I read that message on a different device (i.e. Laptop) I would like the notification to disappear at some point without the need to interact with it.

Why would you like to do it?

Clean notification area containing only messages not yet read or otherwise interacted with.

How would you like to achieve it?

Element X checking current "Read" marker of the user, removing notifications prior to said marker.

Have you considered any alternatives?

Continue using element-android which does this even without the Google notification framework.

Additional context

No response

Are you willing to provide a PR?

No

spaetz commented 2 days ago

Dupe of https://github.com/element-hq/element-x-android/issues/1998