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
F3185154: D13091.id.diff
Fri, Nov 8, 12:37 PM
F3184170: D13091.id.diff
Fri, Nov 8, 10:20 AM
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)
Sep 26 2024, 5:47 PM
Unknown Object (File)
Sep 19 2024, 8:53 AM
Unknown Object (File)
Sep 18 2024, 5:06 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.Aug 19 2024, 5:47 AM