Skip to content
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

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

Open
Tracked by #245
richvdh opened this issue Sep 25, 2024 · 1 comment
Open
Tracked by #245

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?

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