diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-10-17 18:32:36 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-07-03 17:38:17 +0300 |
commit | dc2cd0cea5339973fdc8cd2c34fa90c1858d0ac1 (patch) | |
tree | 2a7d84f34386f9e1bd24f721879a535c7a2bc949 /lib/IMAP | |
parent | 217b5e63432b47c81da3d53967da7fb59ae365a8 (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.php | 10 |
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), |