Page MenuHomePhabricator

[lib] reset session and resend message when device is unable to decrypt messages
ClosedPublic

Authored by kamil on Aug 12 2024, 2:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 22, 3:38 PM
Unknown Object (File)
Sun, Dec 22, 3:38 PM
Unknown Object (File)
Sun, Dec 22, 3:38 PM
Unknown Object (File)
Sun, Dec 22, 3:38 PM
Unknown Object (File)
Sun, Dec 22, 3:38 PM
Unknown Object (File)
Nov 26 2024, 12:29 PM
Unknown Object (File)
Nov 22 2024, 11:08 PM
Unknown Object (File)
Nov 22 2024, 11:01 PM
Subscribers

Details

Summary

ENG-6982.

We want to reset session when there was an error while decrypting.

Depends on D13033

Test Plan
  1. Create a session between devices A and B
  2. On B comment out sending confirmation.
  3. Send some messages from A to B
  4. On B simulate Olm error.
  5. Test that all messages are sent again and decrypted successfully.

Diff Detail

Repository
rCOMM Comm
Branch
resending-2
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Aug 12 2024, 3:04 AM
kamil added inline comments.
lib/utils/olm-utils.js
126–129

We no longer track order and not using sequential decrypt

tomek added inline comments.
lib/utils/olm-utils.js
123
This revision is now accepted and ready to land.Aug 19 2024, 5:46 AM