diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-11-06 11:33:13 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-11-06 11:33:13 +0300 |
commit | f8f80dce5cf6e40973dba61f8b4452f2616003f4 (patch) | |
tree | 647cd9556faa2ad1d873ac17d3c2b84b051daa98 /lib/Controller/MessagesController.php | |
parent | 67a9e4b78b23f21b1b0f5fb72ab86fe37a80e090 (diff) | |
parent | 972bc9964a27189fde99bb8c104d121f595476dc (diff) |
Merge branch 'master' of github.com:/nextcloud/mail into avatars
Diffstat (limited to 'lib/Controller/MessagesController.php')
-rwxr-xr-x | lib/Controller/MessagesController.php | 2 |
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; |