From 8ef54890b2c9d722fb008256fae8c572f5df92a4 Mon Sep 17 00:00:00 2001 From: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com> Date: Mon, 26 Aug 2019 15:17:51 +1000 Subject: [PATCH] Update libtextsecure/message_receiver.js Co-Authored-By: Mikunj Varsani --- libtextsecure/message_receiver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }