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
Unknown Object (File)
Mon, May 13, 12:15 AM
Unknown Object (File)
Apr 4 2024, 7:02 PM
Unknown Object (File)
Apr 4 2024, 7:02 PM
Unknown Object (File)
Apr 4 2024, 6:43 PM
Unknown Object (File)
Mar 16 2024, 8:21 AM
Unknown Object (File)
Mar 15 2024, 12:56 PM
Unknown Object (File)
Mar 13 2024, 3:08 AM
Unknown Object (File)
Mar 11 2024, 3:48 AM
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