mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Don't call IMAP METADATA on LSUB
This commit is contained in:
parent
e289532699
commit
6c84313c98
1 changed files with 1 additions and 1 deletions
|
|
@ -491,7 +491,7 @@ class ImapClient extends \MailSo\Net\NetClient
|
||||||
$aReturn = $this->SendRequestGetResponse($sCmd, $aParameters)->getFoldersResult($sCmd, $bUseListStatus);
|
$aReturn = $this->SendRequestGetResponse($sCmd, $aParameters)->getFoldersResult($sCmd, $bUseListStatus);
|
||||||
|
|
||||||
// RFC 5464
|
// RFC 5464
|
||||||
if ($this->IsSupported('METADATA')) {
|
if (!$bIsSubscribeList && $this->IsSupported('METADATA')) {
|
||||||
foreach ($aReturn as $oFolder) {
|
foreach ($aReturn as $oFolder) {
|
||||||
try {
|
try {
|
||||||
foreach ($this->getMetadata($oFolder->FullNameRaw(), ['/shared', '/private'], ['DEPTH'=>'infinity']) as $key => $value) {
|
foreach ($this->getMetadata($oFolder->FullNameRaw(), ['/shared', '/private'], ['DEPTH'=>'infinity']) as $key => $value) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue