mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +03:00
Bugfix: View messages marked for deletion failed #470
This commit is contained in:
parent
04bf9cd185
commit
c99503980f
2 changed files with 2 additions and 2 deletions
|
|
@ -280,7 +280,7 @@ abstract class SearchCriterias
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($bHideDeleted && !\in_array('DELETED', $aCriteriasResult) && !\in_array('UNDELETED', $aCriteriasResult)) {
|
if ($bHideDeleted && !\in_array('DELETED', $aCriteriasResult) && !\in_array('UNDELETED', $aCriteriasResult)) {
|
||||||
$aCriteriasResult['UNDELETED'] = true;
|
$aCriteriasResult[] = 'UNDELETED';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (\MailSo\Config::$MessageListPermanentFilter) {
|
if (\MailSo\Config::$MessageListPermanentFilter) {
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ trait Messages
|
||||||
|
|
||||||
$oSettingsLocal = $this->SettingsProvider(true)->Load($oAccount);
|
$oSettingsLocal = $this->SettingsProvider(true)->Load($oAccount);
|
||||||
if ($oSettingsLocal instanceof \RainLoop\Settings) {
|
if ($oSettingsLocal instanceof \RainLoop\Settings) {
|
||||||
$oParams->bHideDeleted = empty($oSettingsLocal->GetConf('HideDeleted', 1));
|
$oParams->bHideDeleted = !empty($oSettingsLocal->GetConf('HideDeleted', 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
$oMessageList = $this->MailClient()->MessageList($oParams);
|
$oMessageList = $this->MailClient()->MessageList($oParams);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue