Page MenuHomePhabricator

[lib][native][web] Refactor useInitialNotificationsEncryptedMessage to get Olm session creator from context
ClosedPublic

Authored by ashoat on Mar 3 2024, 8:54 PM.
Tags
None
Referenced Files
F5896460: D11219.id37844.diff
Thu, Apr 17, 11:06 AM
F5882159: D11219.id37752.diff
Thu, Apr 17, 2:47 AM
F5875967: D11219.id.diff
Thu, Apr 17, 12:45 AM
Unknown Object (File)
Wed, Apr 16, 6:55 AM
Unknown Object (File)
Tue, Apr 8, 8:59 PM
Unknown Object (File)
Tue, Apr 8, 8:33 PM
Unknown Object (File)
Sat, Mar 29, 10:12 PM
Unknown Object (File)
Sun, Mar 23, 10:47 PM
Subscribers
None

Details

Summary

Now that we have a cross-platform context exposing this value, we can get it from there and simplify the API for useInitialNotificationsEncryptedMessage a little bit.

Depends on D11218

Test Plan

In addition to the plan described here: https://gist.github.com/Ashoat/75ab690d5c53cdd68a51b02e03e27c58

I also made sure that after session recovery, than an entry in the olm_sessions MariaDB table existed for the new cookie with is_content = 0

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable