Skip to content

UI is not updated when we receive message keys via the NotificationClient #4033

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

Closed
richvdh opened this issue Sep 25, 2024 · 2 comments
Closed

Comments

@richvdh
Copy link
Member

richvdh commented Sep 25, 2024

Suppose a message arrives before its decryption keys. It is initially shown as "Waiting for this message".

If the key is then received by the NotificationClient, rather than the main client, it looks like we do not update the UI to show a successful decryption.

(Closing and reopening the client fixes the problem.)

Rageshake: https://github.com/element-hq/element-x-android-rageshakes/issues/2885

@richvdh
Copy link
Member Author

richvdh commented Sep 25, 2024

@poljar hypothesised:

It might do with the fact that we don't use the OlmMachine stream to listen to newly arrived room keys, instead we listen for m.room.key events on the Client and if we receive that event on the notification client we miss that?

@richvdh
Copy link
Member Author

richvdh commented Mar 19, 2025

This appears to have been a duplicate of #4189

@richvdh richvdh closed this as completed Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant