Page MenuHomePhabricator

Implement keyserver notifs olm session recreation logic in keyserver-connection-handler
AcceptedPublic

Authored by marcin on Aug 15 2024, 10:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 22, 1:16 PM
Unknown Object (File)
Tue, Oct 22, 9:15 AM
Unknown Object (File)
Tue, Oct 22, 8:32 AM
Unknown Object (File)
Wed, Oct 16, 9:58 PM
Unknown Object (File)
Sep 22 2024, 5:46 AM
Unknown Object (File)
Sep 22 2024, 5:29 AM
Unknown Object (File)
Sep 14 2024, 11:47 PM
Unknown Object (File)
Sep 14 2024, 11:46 PM
Subscribers
None

Details

Reviewers
tomek
kamil
ashoat
Summary

This differential implements notifs olm session recreation logic in keyserver-connection-handler.

Test Plan
  1. Log in to web app.
  2. Open IndexedDB in Developer tools.
  3. Remove keyserver notifs session or keyserver notifs session encryption key or both.
  4. Refresh the web app.
  5. Ensure that keyserver notifs session or keyserver notifs session encryption key or both are back in IndexedDB.
  6. Ensure that web notifs work.

Test both Safari and Chrome

Diff Detail

Repository
rCOMM Comm
Branch
marcin/eng-9025
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil added inline comments.
lib/keyserver-conn/keyserver-connection-handler.js
308–408

I would move this to a separate hook to clean-up KeyserverConnectionHandler.

This revision is now accepted and ready to land.Aug 19 2024, 6:53 AM