Notifications sometimes have no content, saying just Element X Notification
#4357
Labels
T-Defect
Something isn't working: bugs, crashes, hangs and other reported problems
Steps to reproduce
I'm not sure how to reproduce this but it occurs on a daily basis for me. Tapping on such a notification open EXA but doesn't seem to lead to a particular message.
Outcome
Expected: The notification should have some content.
After a discussion with the EXA team, I learned this can happen when we're unable to decrypt a message referenced by a push notification. I proposed a theory that this could happen if a notification is received before we receive the message key for a particular message. The message key might arrive only a short while after but we never retry decryption in this case, making this a possible race.
The above is unconfirmed but if true, a possible fix would be to retry decryption after a short delay if the first decryption attempt fails.
Your phone model
Pixel 7 Pro
Operating system version
Android 15
Application version and app store
Element X 25.02.0
Homeserver
No response
Will you send logs?
No
Are you willing to provide a PR?
No
The text was updated successfully, but these errors were encountered: