mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #1725
This commit is contained in:
parent
6ebf273390
commit
ed7a2bd239
1 changed files with 1 additions and 0 deletions
|
|
@ -299,6 +299,7 @@ class ImapClient extends \MailSo\Net\NetClient
|
||||||
private function setCapabilities(ResponseCollection $oResponseCollection) : void
|
private function setCapabilities(ResponseCollection $oResponseCollection) : void
|
||||||
{
|
{
|
||||||
$aList = $oResponseCollection->getCapabilityResult();
|
$aList = $oResponseCollection->getCapabilityResult();
|
||||||
|
$this->aCapaRaw = $aList;
|
||||||
if ($aList) {
|
if ($aList) {
|
||||||
// Strip unused capabilities
|
// Strip unused capabilities
|
||||||
$aList = \array_diff($aList, ['PREVIEW=FUZZY', 'SNIPPET=FUZZY', 'SORT=DISPLAY']);
|
$aList = \array_diff($aList, ['PREVIEW=FUZZY', 'SNIPPET=FUZZY', 'SORT=DISPLAY']);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue