Page MenuHomePhabricator

Implement public method to retrieve notifications olm account public keys
ClosedPublic

Authored by marcin on Feb 20 2023, 5:05 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 28, 2:48 AM
Unknown Object (File)
Thu, Nov 28, 1:53 AM
Unknown Object (File)
Thu, Nov 28, 1:39 AM
Unknown Object (File)
Wed, Nov 27, 11:48 PM
Unknown Object (File)
Wed, Nov 13, 4:01 AM
Unknown Object (File)
Oct 31 2024, 4:59 PM
Unknown Object (File)
Oct 26 2024, 10:55 PM
Unknown Object (File)
Oct 26 2024, 10:55 PM
Subscribers

Details

Summary

This differential imppements public method to retrieve notifications olm account public keys. It wraps around CryptoModule::getIdentityKeys() method and adds additional check to ensure method is not called before notifications olm account is correctly initialized.

Test Plan

In CommCoreModule::initializeCryptoAccount call NotificationsCryptoAccount::initializeNotificationsCryptoAccount and then NotificationsCryptoAccount::getNotificationsIdentityKeys(). Ensure string returned is JSON containing correct olm public keys. This test is an e2e
test that also tests previous differential even more reliably.

Diff Detail

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

Event Timeline

marcin published this revision for review.Feb 20 2023, 5:28 AM
This revision is now accepted and ready to land.Feb 22 2023, 12:50 AM