Fix inexistent enum value for Prekey Type

pull/55/head
sachaaaaa 7 years ago
parent 7aa80b6ca6
commit 7e783639fd

@ -46,7 +46,7 @@ function OutgoingMessage(
const { numberInfo, senderCertificate, preKeyBundleType } = options; const { numberInfo, senderCertificate, preKeyBundleType } = options;
this.numberInfo = numberInfo; this.numberInfo = numberInfo;
this.senderCertificate = senderCertificate; this.senderCertificate = senderCertificate;
this.preKeyBundleType = preKeyBundleType || textsecure.protobuf.PreKeyBundleMessage.Type.UNKOWN; this.preKeyBundleType = preKeyBundleType || textsecure.protobuf.PreKeyBundleMessage.Type.UNKNOWN;
} }
OutgoingMessage.prototype = { OutgoingMessage.prototype = {

Loading…
Cancel
Save