Put OpenPGP check outside "plain".

This allows also for checking HTML messages (but errors for now)
This commit is contained in:
the-djmaze 2022-01-13 12:00:12 +01:00
parent b1bbd58e21
commit 464e766fcc
4 changed files with 64 additions and 109 deletions

View file

@ -460,7 +460,7 @@ export class MessageModel extends AbstractModel {
}
showExternalImages() {
if (this.body && this.body.rlHasImages) {
if (this.body && this.hasImages()) {
this.hasImages(false);
this.body.rlHasImages = false;