diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Mail/Folder.php b/snappymail/v/0.0.0/app/libraries/MailSo/Mail/Folder.php index a86752760..5f93f81b0 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Mail/Folder.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Mail/Folder.php @@ -169,7 +169,8 @@ class Folder implements \JsonSerializable public function IsSelectable() : bool { - return $this->bExists && $this->oImapFolder->IsSelectable(); + // https://github.com/the-djmaze/snappymail/issues/94#issuecomment-850806845 + return $this->bExists /* && $this->oImapFolder->IsSelectable()*/; } /** diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Folders.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Folders.php index 06a9df318..877650731 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Folders.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Folders.php @@ -30,6 +30,8 @@ trait Folders { $this->Plugins()->RunHook('filter.folders-post', array($oAccount, $oFolderCollection)); +/* + // https://github.com/the-djmaze/snappymail/issues/94#issuecomment-850806845 $aFolders = $oFolderCollection->getArrayCopy(); foreach ($aFolders as $i => $oFolder) { if (!$oFolder->IsSelectable()) { @@ -37,6 +39,7 @@ trait Folders } } $oFolderCollection->exchangeArray(\array_values($aFolders)); +*/ $oSettingsLocal = $this->SettingsProvider(true)->Load($oAccount);