You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open a room where some message from the past has not yet been loaded via pagination
Edit this message on another client
Paginate to this message on the first device
=> The message is not shown at all
The root cause of this behaviour is the implementation of replay attack prevention. Given that the original event as well as the edit event now have the same content, Olm will recieve the same ciphertext and return the same message index. We now have two identical decrypted messages, one of which will be ignored by the replay attack prevention. If the first event happens to be the edit and the second the original, the client will never show any message at all, because it is ignored.
Outcome
What did you expect?
The edited message is visible
What happened instead?
The edited message is missing
Your phone model
No response
Operating system version
No response
Application version
No response
Homeserver
No response
Will you send logs?
No
The text was updated successfully, but these errors were encountered:
Anderas
added
the
T-Defect
Something isn't working: bugs, crashes, hangs and other reported problems
label
Mar 16, 2022
Steps to reproduce
=> The message is not shown at all
The root cause of this behaviour is the implementation of replay attack prevention. Given that the original event as well as the edit event now have the same content, Olm will recieve the same ciphertext and return the same message index. We now have two identical decrypted messages, one of which will be ignored by the replay attack prevention. If the first event happens to be the edit and the second the original, the client will never show any message at all, because it is ignored.
Outcome
What did you expect?
The edited message is visible
What happened instead?
The edited message is missing
Your phone model
No response
Operating system version
No response
Application version
No response
Homeserver
No response
Will you send logs?
No
The text was updated successfully, but these errors were encountered: