mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-27 02:59:21 +03:00
Improved IMAP Capability detection
This commit is contained in:
parent
ddc953f4fa
commit
e3219a2636
1 changed files with 3 additions and 3 deletions
|
|
@ -283,7 +283,7 @@ class ImapClient extends \MailSo\Net\NetClient
|
|||
*/
|
||||
public function Capability() : ?array
|
||||
{
|
||||
if (!$this->aCapa) {
|
||||
if (!$this->aCapaRaw) {
|
||||
$this->setCapabilities($this->SendRequestGetResponse('CAPABILITY'));
|
||||
}
|
||||
/*
|
||||
|
|
@ -294,8 +294,8 @@ class ImapClient extends \MailSo\Net\NetClient
|
|||
|
||||
public function Capabilities() : ?array
|
||||
{
|
||||
if (!$this->aCapa) {
|
||||
$this->setCapabilities($this->SendRequestGetResponse('CAPABILITY'));
|
||||
if (!$this->aCapaRaw) {
|
||||
$this->Capability();
|
||||
}
|
||||
return $this->aCapaRaw;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue