Fixes for Chrome app import in this new SQLCipher world

This commit is contained in:
Scott Nonnenberg 2018-08-02 11:01:36 -07:00
parent baf419b7b6
commit 3961778e53
2 changed files with 7 additions and 4 deletions

View file

@ -38,7 +38,10 @@
return storage.put(IMPORT_LOCATION, location);
},
reset() {
return Whisper.Database.clear();
return Promise.all([
Whisper.Database.clear(),
Window.Signal.Data.removeAll(),
]);
},
};