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/IMAP
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-10-17 18:32:36 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-07-03 17:38:17 +0300
commitdc2cd0cea5339973fdc8cd2c34fa90c1858d0ac1 (patch)
tree2a7d84f34386f9e1bd24f721879a535c7a2bc949 /lib/IMAP
parent217b5e63432b47c81da3d53967da7fb59ae365a8 (diff)
Store the `references`, `in-reply-to` and the thread root id
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/IMAP')
-rw-r--r--lib/IMAP/MessageMapper.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/IMAP/MessageMapper.php b/lib/IMAP/MessageMapper.php
index 756cb79ff..2d0f3cee8 100644
--- a/lib/IMAP/MessageMapper.php
+++ b/lib/IMAP/MessageMapper.php
@@ -200,6 +200,16 @@ class MessageMapper {
$query->flags();
$query->uid();
$query->imapDate();
+ $query->headers(
+ 'references',
+ [
+ 'references',
+ ],
+ [
+ 'cache' => true,
+ 'peek' => true,
+ ]
+ );
$fetchResults = iterator_to_array($client->fetch($mailbox, $query, [
'ids' => new Horde_Imap_Client_Ids($ids),