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

pull/1/head
Scott Nonnenberg 7 years ago committed by Scott Nonnenberg
parent 9acb189650
commit 198f356792
No known key found for this signature in database
GPG Key ID: 5F82280C35134661

@ -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…
Cancel
Save