Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2022-11-09 15:06:26 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-11-09 15:06:26 +0300
commit057ea4cc5a07a33e5998e39aaf5f937a4d04225a (patch)
treeaf8497dc3686f08346e28f6730cca06f129253c7
parentcecf046ba532b6bfd452b57f2b126941448ab0fe (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.vue2
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,
}