Page MenuHomePhabricator

Implement utility method to remove notifications olm account storage
ClosedPublic

Authored by marcin on Feb 20 2023, 5:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 28, 5:25 PM
Unknown Object (File)
Thu, Mar 28, 5:25 PM
Unknown Object (File)
Thu, Mar 28, 5:25 PM
Unknown Object (File)
Thu, Mar 28, 5:25 PM
Unknown Object (File)
Thu, Mar 28, 5:25 PM
Unknown Object (File)
Thu, Mar 28, 5:24 PM
Unknown Object (File)
Thu, Mar 28, 5:16 PM
Unknown Object (File)
Mar 4 2024, 12:31 PM
Subscribers

Details

Summary

This differential implements utility method to remove strage of notifications olm account. We need this functionality since public olm account is removed every loggout since it is stored in SQLite. I think we should follow similar semantics here. Implementation of this method
ensures we are not throwing an error if the file does not exist (attempt to delete prior to proper creation).

Test Plan

Use test plan from parent differential and add call to this method after call to method that retrieves public keys. Run app one more time and ensure that keys returned from getNotificationsIdentityKeys are different (they were deleted on previous run, so thay are created
new on the next run).

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Feb 22 2023, 12:52 AM