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
F5117995: D13046.diff
Wed, Apr 2, 9:13 PM
Unknown Object (File)
Tue, Apr 1, 8:59 AM
Unknown Object (File)
Wed, Mar 12, 6:31 AM
Unknown Object (File)
Tue, Mar 11, 9:36 AM
Unknown Object (File)
Wed, Mar 5, 8:21 AM
Unknown Object (File)
Feb 22 2025, 11:12 PM
Unknown Object (File)
Feb 22 2025, 11:12 PM
Unknown Object (File)
Feb 22 2025, 11:12 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