Message.send: Add promise to array for consistency

FREEBIE
pull/749/head
Scott Nonnenberg 8 years ago
parent 4ee4ad80c3
commit 78094102bd

@ -223,7 +223,7 @@
if (result instanceof Error) {
this.saveErrors(result);
if (result.name === 'SignedPreKeyRotationError') {
return getAccountManager().rotateSignedPreKey();
promises.push(getAccountManager().rotateSignedPreKey());
}
else if (result.name === 'OutgoingIdentityKeyError' && result.identityKey) {
promises.push(textsecure.storage.protocol.saveIdentity(

Loading…
Cancel
Save