Fix Message.js (#2080)

Fixes https://github.com/pedroslopez/whatsapp-web.js/issues/2078
This commit is contained in:
Italo Castro 2023-03-18 19:11:38 -03:00 • committed by GitHub
commit 109fbce8db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -403,7 +403,7 @@ class Message extends Base {
}
try {
const decryptedMedia = await window.Store.DownloadManager.downloadAndDecrypt({
const decryptedMedia = await window.Store.DownloadManager.downloadAndMaybeDecrypt({
directPath: msg.directPath,
encFilehash: msg.encFilehash,
filehash: msg.filehash,