From b3ff9c87bf6617cc4e7451287d2cff4dc85005bb Mon Sep 17 00:00:00 2001 From: Pablo Zmdl Date: Tue, 23 Jul 2024 15:13:33 +0200 Subject: [PATCH] WIP: Fix reading encrypted content with Mailvelope --- program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/js/app.js b/program/js/app.js index cbda48a8d5e..23095b93f44 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -4047,7 +4047,7 @@ function rcube_webmail() { if (action == 'show' || action == 'preview' || action == 'print') { // decrypt text body if (this.env.is_pgp_content) { - var data = $(this.env.is_pgp_content).text(); + var data = document.querySelector(this.env.is_pgp_content).contentDocument.body.textContent; ref.mailvelope_display_container(this.env.is_pgp_content, data, keyring); } // load pgp/mime message and pass it to the mailvelope display container