mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Bugfix: inboxFolderName was incorrect
You could have potentionally deleted INBOX and other issues
This commit is contained in:
parent
3bfe2c67d1
commit
b68d04aacd
4 changed files with 23 additions and 26 deletions
|
|
@ -3108,6 +3108,7 @@ NewThemeLink IncludeCss TemplatesLink LangLink IncludeBackground PluginsLink Aut
|
|||
{
|
||||
$iFolderListType = $oFolder->GetFolderListType();
|
||||
if (!isset($aResult[$iFolderListType]) && \in_array($iFolderListType, array(
|
||||
\MailSo\Imap\Enumerations\FolderType::INBOX,
|
||||
\MailSo\Imap\Enumerations\FolderType::SENT,
|
||||
\MailSo\Imap\Enumerations\FolderType::DRAFTS,
|
||||
\MailSo\Imap\Enumerations\FolderType::JUNK,
|
||||
|
|
@ -3139,6 +3140,7 @@ NewThemeLink IncludeCss TemplatesLink LangLink IncludeBackground PluginsLink Aut
|
|||
{
|
||||
$iFolderType = isset($aMap[$sName]) ? $aMap[$sName] : $aMap[$sFullName];
|
||||
if (!isset($aResult[$iFolderType]) && \in_array($iFolderType, array(
|
||||
\MailSo\Imap\Enumerations\FolderType::INBOX,
|
||||
\MailSo\Imap\Enumerations\FolderType::SENT,
|
||||
\MailSo\Imap\Enumerations\FolderType::DRAFTS,
|
||||
\MailSo\Imap\Enumerations\FolderType::JUNK,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue