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:
authorCyrille Bollu <cyrille@bollu.be>2021-03-05 13:37:13 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-03-11 16:03:33 +0300
commit17d61fc7c961a08cf2f6adb378d3e332e28144d8 (patch)
treec5014be9eefcc23f260738f96194720f11d81463 /lib/Model
parentc8d04344f7f221c25f10602f90438d3930bfe01f (diff)
Do not forward inline images at attachments
Signed-off-by: Cyrille Bollu <cyr.debian@bollu.be>
Diffstat (limited to 'lib/Model')
-rw-r--r--lib/Model/IMAPMessage.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Model/IMAPMessage.php b/lib/Model/IMAPMessage.php
index 5481ecddd..46005a0c3 100644
--- a/lib/Model/IMAPMessage.php
+++ b/lib/Model/IMAPMessage.php
@@ -414,7 +414,8 @@ class IMAPMessage implements IMessage, JsonSerializable {
'fileName' => $filename,
'mime' => $p->getType(),
'size' => $p->getBytes(),
- 'cid' => $p->getContentId()
+ 'cid' => $p->getContentId(),
+ 'disposition' => $p->getDisposition()
];
return;
}