mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +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',
|
'@Object' => 'Object/Message',
|
||||||
'folder' => $this->sFolder,
|
'folder' => $this->sFolder,
|
||||||
'uid' => $this->Uid,
|
'uid' => $this->Uid,
|
||||||
|
|
@ -517,7 +517,6 @@ class Message implements \JsonSerializable
|
||||||
'deliveredTo' => $this->oDeliveredTo,
|
'deliveredTo' => $this->oDeliveredTo,
|
||||||
|
|
||||||
'priority' => $this->iPriority,
|
'priority' => $this->iPriority,
|
||||||
'threads' => $this->aThreads,
|
|
||||||
'unsubsribeLinks' => $this->UnsubsribeLinks,
|
'unsubsribeLinks' => $this->UnsubsribeLinks,
|
||||||
'readReceipt' => '',
|
'readReceipt' => '',
|
||||||
'autocrypt' => $aAutocrypt ?: null,
|
'autocrypt' => $aAutocrypt ?: null,
|
||||||
|
|
@ -540,5 +539,11 @@ class Message implements \JsonSerializable
|
||||||
// 'keywords' => $keywords,
|
// 'keywords' => $keywords,
|
||||||
'size' => $this->iSize
|
'size' => $this->iSize
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if ($this->aThreads) {
|
||||||
|
$result['threads'] = $this->aThreads;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue