Re-enable orphaned attachment cleanup

This commit is contained in:
Scott Nonnenberg 2018-08-08 10:00:33 -07:00
parent 15751f3521
commit 9f920aa35b
4 changed files with 40 additions and 11 deletions

View file

@ -408,6 +408,10 @@
);
window.log.info('Cleanup: complete');
if (newVersion) {
await window.Signal.Data.cleanupOrphanedAttachments();
}
Views.Initialization.setMessage(window.i18n('loading'));
// Note: We are not invoking the second set of IndexedDB migrations because it is