From 7e783639fdc034597d09e6d7e6a8ef0bd2c3cc2c Mon Sep 17 00:00:00 2001 From: sachaaaaa Date: Fri, 23 Nov 2018 17:46:26 +1100 Subject: [PATCH] Fix inexistent enum value for Prekey Type --- libtextsecure/outgoing_message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtextsecure/outgoing_message.js b/libtextsecure/outgoing_message.js index 8fa8aab9e..4bed82dba 100644 --- a/libtextsecure/outgoing_message.js +++ b/libtextsecure/outgoing_message.js @@ -46,7 +46,7 @@ function OutgoingMessage( const { numberInfo, senderCertificate, preKeyBundleType } = options; this.numberInfo = numberInfo; this.senderCertificate = senderCertificate; - this.preKeyBundleType = preKeyBundleType || textsecure.protobuf.PreKeyBundleMessage.Type.UNKOWN; + this.preKeyBundleType = preKeyBundleType || textsecure.protobuf.PreKeyBundleMessage.Type.UNKNOWN; } OutgoingMessage.prototype = {