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

RageShake | Messages are displayed as unabled to decrypt then decrypted a few seconds later #4011

Closed
BillCarsonFr opened this issue Sep 14, 2021 · 2 comments · Fixed by #4033
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@BillCarsonFr
Copy link
Member

BillCarsonFr commented Sep 14, 2021

https://github.com/matrix-org/element-android-rageshakes/issues/26594

@BillCarsonFr BillCarsonFr added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Sep 14, 2021
@BillCarsonFr
Copy link
Member Author

By looking at the logs, the session key was received correctly, but the subsequent call to getInbound group session returns null and is marking the message as failed to decrypt

So it looks like there is a delay before the session is actually stored in DataBase and can be fetched succesfully.

We already have an in memory cache to make it faster when updating the ratchet index, we could use it on when the session is first added

@BillCarsonFr BillCarsonFr added the O-Occasional Affects or can be seen by some users regularly or most users rarely label Sep 14, 2021
@bmarty
Copy link
Member

bmarty commented Sep 23, 2021

In EA 1.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants