mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 07:35:55 +08:00
Resolve #1725
This commit is contained in:
parent
6ebf273390
commit
ed7a2bd239
|
@ -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']);
|
||||
|
|
Loading…
Reference in a new issue