Skip to content

Commit

Permalink
WIP: Fix reading encrypted content with Mailvelope
Browse files Browse the repository at this point in the history
  • Loading branch information
pabzm committed Aug 13, 2024
1 parent 213e42e commit b3ff9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b3ff9c8

Please sign in to comment.