Return number (not id) in getNumber, remove unnecessary comment
This commit is contained in:
parent
9acb189650
commit
198f356792
2 changed files with 2 additions and 11 deletions
|
@ -859,16 +859,7 @@
|
|||
window.storage.reset(); // items store
|
||||
ConversationController.reset(); // conversations store
|
||||
|
||||
// Then, the database. All stores:
|
||||
// items
|
||||
// identityKeys
|
||||
// sessions
|
||||
// signedPreKeys
|
||||
// preKeys
|
||||
// unprocessed
|
||||
// groups
|
||||
// conversations
|
||||
// messages
|
||||
// Then, the entire database:
|
||||
return window.Whisper.Backup.clearDatabase();
|
||||
},
|
||||
removeAllConfiguration: function() {
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
return numberId;
|
||||
}
|
||||
|
||||
return parts[1];
|
||||
return parts[0];
|
||||
}
|
||||
|
||||
AccountManager.prototype = new textsecure.EventTarget();
|
||||
|
|
Loading…
Add table
Reference in a new issue