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-11-06 11:33:13 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-11-06 11:33:13 +0300
commitf8f80dce5cf6e40973dba61f8b4452f2616003f4 (patch)
tree647cd9556faa2ad1d873ac17d3c2b84b051daa98 /lib/Controller/MessagesController.php
parent67a9e4b78b23f21b1b0f5fb72ab86fe37a80e090 (diff)
parent972bc9964a27189fde99bb8c104d121f595476dc (diff)
Merge branch 'master' of github.com:/nextcloud/mail into avatars
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 871d8a652..edf942ae1 100755
--- a/lib/Controller/MessagesController.php
+++ b/lib/Controller/MessagesController.php
@@ -248,7 +248,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;