-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NSE - Prevent playback on already read messages and enable on device … #6265
Conversation
0ffefe1
to
70b6e19
Compare
📱 Scan the QR code below to install the build for this PR. If you can't scan the QR code you can install the build via this link: https://i.diawi.com/BRWEWr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had some comments after a static review. We'll need to test this after Sygnal task is done.
60d465d
to
ebb912a
Compare
…silencing for unwanted push notifications
ebb912a
to
22c4813
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Hi @stefanceriu, I was wondering if you would mind providing some additional context around why this change was made? Specifically, what does "playback" mean in this context? Beeper has forked the |
Hey! This was in response to a security concern in which if somebody would get access to your credentials and phisical device they would be able to decrypt and display any message in notification popups by sending a new push request for an old message identifier. The fix basically just checks if a mesages was previously read and it if it was ignores the push. |
Thanks Stefan, sounds like a different problem than what we're encountering but good to know! |
…silencing for unwanted push notifications
On device notification filtering is dependant on sygnal setting
push_type = alert
on notifications. An attempt at this was tried here but it's incomplete as voip pushes need another type/topic.This PR now depends on matrix-org/matrix-ios-sdk#1500