This commit is contained in:
the-djmaze 2024-08-28 00:34:38 +02:00
parent 6ebf273390
commit ed7a2bd239

View file

@ -299,6 +299,7 @@ class ImapClient extends \MailSo\Net\NetClient
private function setCapabilities(ResponseCollection $oResponseCollection) : void
{
$aList = $oResponseCollection->getCapabilityResult();
$this->aCapaRaw = $aList;
if ($aList) {
// Strip unused capabilities
$aList = \array_diff($aList, ['PREVIEW=FUZZY', 'SNIPPET=FUZZY', 'SORT=DISPLAY']);