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)
Wed, Nov 20, 2:06 PM
Unknown Object (File)
Wed, Nov 20, 2:06 PM
Unknown Object (File)
Mon, Nov 11, 10:08 AM
Unknown Object (File)
Fri, Nov 8, 12:37 PM
Unknown Object (File)
Fri, Nov 8, 10:20 AM
Unknown Object (File)
Oct 22 2024, 1:16 PM
Unknown Object (File)
Oct 22 2024, 9:15 AM
Unknown Object (File)
Oct 22 2024, 8:32 AM
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