diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-11-09 15:06:26 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-11-09 15:06:26 +0300 |
commit | 057ea4cc5a07a33e5998e39aaf5f937a4d04225a (patch) | |
tree | af8497dc3686f08346e28f6730cca06f129253c7 | |
parent | cecf046ba532b6bfd452b57f2b126941448ab0fe (diff) |
Fix sending PGP messages as HTML
They are always plain text messages. Otherwise the PGP ciphertext is not
recognized on the receiving end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-rw-r--r-- | src/components/Composer.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Composer.vue b/src/components/Composer.vue index 6426abed3..0886ccaca 100644 --- a/src/components/Composer.vue +++ b/src/components/Composer.vue @@ -887,7 +887,7 @@ export default { body: this.encrypt ? plain(this.bodyVal) : html(this.bodyVal), attachments: this.attachments, inReplyToMessageId: this.inReplyToMessageId ?? (this.replyTo ? this.replyTo.messageId : undefined), - isHtml: !this.editorPlainText, + isHtml: !this.encrypt && !this.editorPlainText, requestMdn: this.requestMdn, sendAt: this.sendAtVal ? Math.floor(this.sendAtVal / 1000) : undefined, } |