HomePhabricator
Diffusion Comm 575677018ac0

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

Description

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

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.

Reviewers: tomek, marcin

Reviewed By: tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D13046

Details

Provenance
kamilAuthored on Aug 8 2024, 7:45 AM
Reviewer
tomek
Differential Revision
D13046: [lib] reset session and resend message when device is unable to decrypt messages
Parents
rCOMM28edf256514a: [lib] add session version to EncryptedData
Branches
Unknown
Tags
Unknown