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>2017-10-30 18:53:07 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-10-30 18:57:00 +0300
commitd6d680e7cda93e76524b392615e7942883d896e9 (patch)
tree1fb9feb34e3cc7768d32ab34c8c4ef95418b253c /lib/Controller/MessagesController.php
parent1917a0b0ac4f65416a479ad29293b036d8787b4d (diff)
Fix loading of HTML messages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Controller/MessagesController.php')
-rwxr-xr-xlib/Controller/MessagesController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/MessagesController.php b/lib/Controller/MessagesController.php
index ad4a488b7..2184329a7 100755
--- a/lib/Controller/MessagesController.php
+++ b/lib/Controller/MessagesController.php
@@ -239,7 +239,7 @@ class MessagesController extends Controller {
try {
$mailBox = $this->getFolder($accountId, $folderId);
- $m = $mailBox->getMessage($messageId);
+ $m = $mailBox->getMessage($messageId, true);
$html = $m->getHtmlBody($accountId, $folderId, $messageId, function($cid) use ($m){
$match = array_filter($m->attachments, function($a) use($cid){
return $a['cid'] === $cid;