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-02-07 14:52:35 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-02-10 15:32:34 +0300
commit90a90dd24d21da7130cee7a514ca348f0de1fb24 (patch)
tree437ef244f08481e3970684e07901169f47b25712 /lib/Model
parentec940371233c2c3630d5fb48e65e9e75203cbbc1 (diff)
Add a lazy structure analyzation to get the attachments icon back
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 be30a78ad..62efeea81 100644
--- a/lib/Model/IMAPMessage.php
+++ b/lib/Model/IMAPMessage.php
@@ -619,6 +619,7 @@ class IMAPMessage implements IMessage, JsonSerializable {
$msg->setFlagForwarded(in_array(Horde_Imap_Client::FLAG_FORWARDED, $flags, true));
$msg->setFlagJunk(in_array(Horde_Imap_Client::FLAG_JUNK, $flags, true));
$msg->setFlagNotjunk(in_array(Horde_Imap_Client::FLAG_NOTJUNK, $flags, true));
+ $msg->setFlagAttachments(false);
return $msg;
}