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
|
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() {
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
return numberId;
|
return numberId;
|
||||||
}
|
}
|
||||||
|
|
||||||
return parts[1];
|
return parts[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
AccountManager.prototype = new textsecure.EventTarget();
|
AccountManager.prototype = new textsecure.EventTarget();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue