From 109fbce8db698ca12ac81af13bc69090a645d5b2 Mon Sep 17 00:00:00 2001 From: Italo Castro <72866245+Italo-Castro@users.noreply.github.com> Date: Sat, 18 Mar 2023 19:11:38 -0300 Subject: [PATCH] Fix Message.js (#2080) Fixes https://github.com/pedroslopez/whatsapp-web.js/issues/2078 --- src/structures/Message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Message.js b/src/structures/Message.js index 867bd88..2e16ed7 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -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,