mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 03:59:21 +03:00
bugfix: threads indicator gets lost with new message cache handling
This commit is contained in:
parent
b8b7f10055
commit
08f391fcd7
1 changed files with 7 additions and 2 deletions
|
|
@ -493,7 +493,7 @@ class Message implements \JsonSerializable
|
|||
}
|
||||
}
|
||||
|
||||
return array(
|
||||
$result = array(
|
||||
'@Object' => 'Object/Message',
|
||||
'folder' => $this->sFolder,
|
||||
'uid' => $this->Uid,
|
||||
|
|
@ -517,7 +517,6 @@ class Message implements \JsonSerializable
|
|||
'deliveredTo' => $this->oDeliveredTo,
|
||||
|
||||
'priority' => $this->iPriority,
|
||||
'threads' => $this->aThreads,
|
||||
'unsubsribeLinks' => $this->UnsubsribeLinks,
|
||||
'readReceipt' => '',
|
||||
'autocrypt' => $aAutocrypt ?: null,
|
||||
|
|
@ -540,5 +539,11 @@ class Message implements \JsonSerializable
|
|||
// 'keywords' => $keywords,
|
||||
'size' => $this->iSize
|
||||
);
|
||||
|
||||
if ($this->aThreads) {
|
||||
$result['threads'] = $this->aThreads;
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue