Remove obsolete argument

This commit is contained in:
lilia 2014-11-09 18:58:05 -08:00
parent 0ff3d438be
commit c69c05c15d

View file

@ -738,7 +738,7 @@ window.textsecure.protocol = function() {
});
}
if (identityKeyPair === undefined)
return crypto_storage.getNewStoredKeyPair("identityKey", true).then(function(keyPair) { return identityKeyCalculated(keyPair); });
return crypto_storage.getNewStoredKeyPair("identityKey").then(function(keyPair) { return identityKeyCalculated(keyPair); });
else
return identityKeyCalculated(identityKeyPair);
}