Return number (not id) in getNumber, remove unnecessary comment

This commit is contained in:
Scott Nonnenberg 2018-02-26 11:24:48 -08:00 committed by Scott Nonnenberg
parent 9acb189650
commit 198f356792
No known key found for this signature in database
GPG key ID: 5F82280C35134661
2 changed files with 2 additions and 11 deletions

View file

@ -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() {

View file

@ -24,7 +24,7 @@
return numberId;
}
return parts[1];
return parts[0];
}
AccountManager.prototype = new textsecure.EventTarget();