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
parent 6f2ad1773e
commit 109fbce8db

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,