Diffusion GpgOL d5e60def7c12

Fix mail display when plaintext opt changes in run

Authored by aheinecke on Jul 14 2019, 9:34 AM.

Description

Fix mail display when plaintext opt changes in run

* src/gpgoladdin.cpp (check_html_preferred): Export.
* src/gpgoladdin.h: Add prototype.
* src/mail.cpp (decryptVerify_o): check_html_preferred for each
decrypt.

This is the safest way and we only read a registry key
so this should not really decrease performance.