Fix for "Can't find record for undefined.1"

Also, we didn't need to recalculate the number here anyway!

FREEBIE
pull/749/head
Scott Nonnenberg 8 years ago
parent e223db56d9
commit 7e8f3ab5e7
No known key found for this signature in database
GPG Key ID: A4931C09644C654B

@ -39182,7 +39182,6 @@ OutgoingMessage.prototype = {
var address = new libsignal.SignalProtocolAddress(number, deviceId);
var ourNumber = textsecure.storage.user.getNumber();
var number = address.toString().split('.')[0];
var options = {};
// No limit on message keys if we're communicating with our other devices

@ -139,7 +139,6 @@ OutgoingMessage.prototype = {
var address = new libsignal.SignalProtocolAddress(number, deviceId);
var ourNumber = textsecure.storage.user.getNumber();
var number = address.toString().split('.')[0];
var options = {};
// No limit on message keys if we're communicating with our other devices

Loading…
Cancel
Save