Page MenuHomePhabricator

Implement new optional olm-api methods on web to support notifs session creation on client demand
AcceptedPublic

Authored by marcin on Aug 15 2024, 10:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 14, 11:47 PM
Unknown Object (File)
Sat, Sep 14, 11:46 PM
Unknown Object (File)
Sat, Sep 14, 11:44 PM
Unknown Object (File)
Sun, Sep 8, 4:41 AM
Unknown Object (File)
Tue, Sep 3, 11:05 PM
Unknown Object (File)
Tue, Sep 3, 12:20 PM
Unknown Object (File)
Sun, Sep 1, 1:55 PM
Unknown Object (File)
Fri, Aug 30, 11:01 PM
Subscribers
None

Details

Reviewers
tomek
kamil
ashoat
Summary

This differentila introduces new olm-api methods. One to check if we have notifs session with the keyserver and the other two to create and persist later new notifs olm session with the keyserver.

Test Plan

Tested in next diff

Diff Detail

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

Event Timeline

kamil added inline comments.
web/push-notif/notif-crypto-utils.js
1105

I would change this log, or are you sure this method is called only as a result of receiving notif?

web/shared-worker/worker/worker-crypto.js
931

shouldn't this be true?

937

why we're using mixed, not PersistNotifsAccountWithOlmDataInput?

939–942

why this is needed?

This revision is now accepted and ready to land.Mon, Aug 19, 5:47 AM