HomePhabricator
Diffusion Comm 029f7ae731a2

[web] improve handling of non-existing olm sessions

Description

[web] improve handling of non-existing olm sessions

Summary: Previous code versions instead of No session for device... was causing runtime error: Cannot destructure property 'session' of cryptoStore.contentSessions [deviceID]..

Test Plan:

  1. Check encrypt/decrypt when session exists
  2. Check encrypt/decrypt when session not exists

Reviewers: tomek, marcin

Reviewed By: marcin

Subscribers: ashoat

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

Details

Provenance
kamilAuthored on May 15 2024, 1:37 AM
Reviewer
marcin
Differential Revision
D12044: [web] improve handling of non-existing olm sessions
Parents
rCOMM16cd530ee676: Ensure that the same ETH account is used for each signature
Branches
Unknown
Tags
Unknown