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
F3380261: D6779.diff
Wed, Nov 27, 10:33 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
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:54 PM
Unknown Object (File)
Oct 26 2024, 10:47 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
No Lint Coverage
Unit
No Test Coverage

Event Timeline

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