Ensure that all messages in cache are migrated properly

This commit is contained in:
Scott Nonnenberg 2018-08-06 12:11:02 -07:00
parent 9ff80469a5
commit 44dec45995
3 changed files with 34 additions and 15 deletions

View file

@ -338,6 +338,7 @@
db,
clearStores: Whisper.Database.clearStores,
handleDOMException: Whisper.Database.handleDOMException,
arrayBufferToString: textsecure.MessageReceiver.arrayBufferToString,
countCallback: count => {
window.log.info(`Migration: ${count} messages complete`);
showMigrationStatus(count);