mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 17:07:03 +03:00
Added: allow setting the supported THREAD algorithm
This commit is contained in:
parent
015dcbdc41
commit
57fbdf8795
48 changed files with 341 additions and 264 deletions
|
|
@ -36,8 +36,13 @@ trait Messages
|
|||
$oParams->iPrevUidNext = $aValues['uidNext'];
|
||||
}
|
||||
$oParams->bUseThreads = !empty($aValues['useThreads']);
|
||||
if ($oParams->bUseThreads && isset($aValues['threadUid'])) {
|
||||
$oParams->iThreadUid = $aValues['threadUid'];
|
||||
if ($oParams->bUseThreads) {
|
||||
if (isset($aValues['threadUid'])) {
|
||||
$oParams->iThreadUid = $aValues['threadUid'];
|
||||
}
|
||||
if (isset($aValues['threadAlgorithm'])) {
|
||||
$oParams->sThreadAlgorithm = $aValues['threadAlgorithm'];
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// POST
|
||||
|
|
@ -50,6 +55,7 @@ trait Messages
|
|||
$oParams->bUseThreads = !empty($this->GetActionParam('useThreads', '0'));
|
||||
if ($oParams->bUseThreads) {
|
||||
$oParams->iThreadUid = $this->GetActionParam('threadUid', '');
|
||||
$oParams->sThreadAlgorithm = $this->GetActionParam('threadAlgorithm', '');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue