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
path: root/lib/Model
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-01-13 20:45:35 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-01-13 20:47:08 +0300
commit95037723a96bf7b626c6c3877d59e3b41cf4b8b1 (patch)
tree2a7900951516b7f7d37ba84d64100b4d3d256705 /lib/Model
parent9f96eb320e647e98d60d25b206312754528af18f (diff)
Fix vanishing newlines of plaintext drafts
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Model')
-rw-r--r--lib/Model/IMAPMessage.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Model/IMAPMessage.php b/lib/Model/IMAPMessage.php
index c37451ba1..30301ebee 100644
--- a/lib/Model/IMAPMessage.php
+++ b/lib/Model/IMAPMessage.php
@@ -419,6 +419,7 @@ class IMAPMessage implements IMessage, JsonSerializable {
'subject' => $this->getSubject(),
'dateInt' => $this->getSentDate()->getTimestamp(),
'flags' => $this->getFlags(),
+ 'hasHtmlBody' => $this->hasHtmlMessage,
];
}