mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 08:27:03 +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
|
|
@ -637,6 +637,22 @@ class MailClient
|
|||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \MailSo\Mail\MailClient
|
||||
*
|
||||
* @throws \MailSo\Net\Exceptions\Exception
|
||||
* @throws \MailSo\Imap\Exceptions\Exception
|
||||
*/
|
||||
public function FolderUnSelect()
|
||||
{
|
||||
if ($this->oImapClient->IsSelected())
|
||||
{
|
||||
$this->oImapClient->FolderUnSelect();
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param resource $rMessageStream
|
||||
* @param int $iMessageStreamSize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue