autoOrientJPEG: Protect against missing message parameter
This commit is contained in:
parent
3b444479c0
commit
c135219acb
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ exports.autoOrientJPEG = async (attachment, _, message) => {
|
|||
);
|
||||
const xcodedDataBlob = await scaleImageToLevel(
|
||||
dataBlob,
|
||||
message.sendHQImages
|
||||
message ? message.sendHQImages : false
|
||||
);
|
||||
const xcodedDataArrayBuffer = await blobToArrayBuffer(xcodedDataBlob);
|
||||
|
||||
|
|
Loading…
Reference in a new issue