mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Bugfix: double SELECT/EXAMINE useless
This commit is contained in:
parent
bfc8524876
commit
1587e4183d
1 changed files with 2 additions and 3 deletions
|
|
@ -732,12 +732,11 @@ class ImapClient extends \MailSo\Net\NetClient
|
||||||
$aParams[] = $aSelectParams;
|
$aParams[] = $aSelectParams;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$oResult = new FolderInformation($sFolderName, $bIsWritable);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* IMAP4rev2 SELECT/EXAMINE are now required to return an untagged LIST response.
|
* IMAP4rev2 SELECT/EXAMINE are now required to return an untagged LIST response.
|
||||||
*/
|
*/
|
||||||
$oResponseCollection = $this->SendRequestGetResponse($bIsWritable ? 'SELECT' : 'EXAMINE', $aParams);
|
|
||||||
$oResult = new FolderInformation($sFolderName, $bIsWritable);
|
|
||||||
|
|
||||||
$this->SendRequest($bIsWritable ? 'SELECT' : 'EXAMINE', $aParams);
|
$this->SendRequest($bIsWritable ? 'SELECT' : 'EXAMINE', $aParams);
|
||||||
foreach ($this->yieldUntaggedResponses() as $oResponse) {
|
foreach ($this->yieldUntaggedResponses() as $oResponse) {
|
||||||
if (!$oResult->setStatusFromResponse($oResponse)) {
|
if (!$oResult->setStatusFromResponse($oResponse)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue