mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Fixed: Unselect folder (if supported) on [moving, deleting] (#846)
This commit is contained in:
parent
55e3bad890
commit
b5c1d8b665
3 changed files with 75 additions and 6 deletions
|
|
@ -966,6 +966,18 @@ class ImapClient extends \MailSo\Net\NetClient
|
|||
return $this->selectOrExamineFolder($sFolderName, $this->__FORCE_SELECT_ON_EXAMINE__, $bReSelectSameFolders);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \MailSo\Imap\ImapClient
|
||||
*
|
||||
* @throws \MailSo\Net\Exceptions\Exception
|
||||
* @throws \MailSo\Imap\Exceptions\Exception
|
||||
*/
|
||||
public function FolderUnSelect()
|
||||
{
|
||||
return $this->IsSelected() && $this->IsSupported('UNSELECT') ?
|
||||
$this->SendRequestWithCheck('UNSELECT') : $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $aInputFetchItems
|
||||
* @param string $sIndexRange
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue