Merge pull request #55 from sachaaaaa/fix_prekey_type_unknown

Fix inexistent enum value for Prekey Type
pull/57/head
sachaaaaa 6 years ago committed by GitHub
commit ae7c9e063b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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