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
F3380747: D6778.id23310.diff
Thu, Nov 28, 1:53 AM
F3380711: D6778.id22882.diff
Thu, Nov 28, 1:39 AM
F3380443: D6778.diff
Wed, Nov 27, 11:48 PM
Unknown Object (File)
Wed, Nov 13, 4:01 AM
Unknown Object (File)
Thu, Oct 31, 4:59 PM
Unknown Object (File)
Oct 26 2024, 10:55 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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