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>2018-09-24 12:37:26 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-09-24 12:37:26 +0300
commit7d1df1d9c2d7e76ae5744ecca3024214e23260f9 (patch)
treeb1b309dd4f0a5488d157c1d1e40590247800686c /lib/Controller/MessagesController.php
parentaa7b7a47ec7c41bdfcb4c12b3a65039a6c56e39a (diff)
Add loading of HTML message bodies
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Controller/MessagesController.php')
-rwxr-xr-xlib/Controller/MessagesController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Controller/MessagesController.php b/lib/Controller/MessagesController.php
index 989c93856..4a041e48a 100755
--- a/lib/Controller/MessagesController.php
+++ b/lib/Controller/MessagesController.php
@@ -199,6 +199,7 @@ class MessagesController extends Controller {
try {
$mailBox = $this->getFolder($accountId, $folderId);
+ /** @var IMAPMessage $m */
$m = $mailBox->getMessage($messageId, true);
$html = $m->getHtmlBody($accountId, $folderId, $messageId,
function ($cid) use ($m) {