Home GnuPG
Diffusion GpgOL 06ddd05cbf3c

Do not show attachment warning when printing

Description

Do not show attachment warning when printing

* src/mail.cpp (Mail::parsing_done): Silently remove
unencrypted attachments.

When printing we have already shown the warning. So we
should not show it again but silently remove any attachments
that are not hidden before our add_attachments. This
also fixes an issue that when printing sometimes the
child mails which are created for preview and print already
have the decrypted attachments.

Details

Provenance
aheineckeAuthored on Jun 11 2019, 11:59 AM
Parents
rO90bcebfe5f3d: Add silent mode to checkAttachments
Branches
Unknown
Tags
Unknown
Tasks
T4560: GpgOL: Only quick print possible for encrypted mails