Fix inexistent enum value for Prekey Type

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

@ -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 = {

Loading…
Cancel
Save