diff --git a/libtextsecure/message_receiver.js b/libtextsecure/message_receiver.js index 100958825..9dce8934a 100644 --- a/libtextsecure/message_receiver.js +++ b/libtextsecure/message_receiver.js @@ -1134,7 +1134,7 @@ MessageReceiver.prototype.extend({ } }, async handleAuthorisationForContact(pairingAuthorisation) { - const valid = this.validateAuthorisation(pairingAuthorisation); + const valid = await this.validateAuthorisation(pairingAuthorisation); if (!valid) { return; }