|
|
@ -859,16 +859,7 @@
|
|
|
|
window.storage.reset(); // items store
|
|
|
|
window.storage.reset(); // items store
|
|
|
|
ConversationController.reset(); // conversations store
|
|
|
|
ConversationController.reset(); // conversations store
|
|
|
|
|
|
|
|
|
|
|
|
// Then, the database. All stores:
|
|
|
|
// Then, the entire database:
|
|
|
|
// items
|
|
|
|
|
|
|
|
// identityKeys
|
|
|
|
|
|
|
|
// sessions
|
|
|
|
|
|
|
|
// signedPreKeys
|
|
|
|
|
|
|
|
// preKeys
|
|
|
|
|
|
|
|
// unprocessed
|
|
|
|
|
|
|
|
// groups
|
|
|
|
|
|
|
|
// conversations
|
|
|
|
|
|
|
|
// messages
|
|
|
|
|
|
|
|
return window.Whisper.Backup.clearDatabase();
|
|
|
|
return window.Whisper.Backup.clearDatabase();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
removeAllConfiguration: function() {
|
|
|
|
removeAllConfiguration: function() {
|
|
|
|