mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 15:37:03 +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
|
public function Capability() : ?array
|
||||||
{
|
{
|
||||||
if (!$this->aCapa) {
|
if (!$this->aCapaRaw) {
|
||||||
$this->setCapabilities($this->SendRequestGetResponse('CAPABILITY'));
|
$this->setCapabilities($this->SendRequestGetResponse('CAPABILITY'));
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|
@ -294,8 +294,8 @@ class ImapClient extends \MailSo\Net\NetClient
|
||||||
|
|
||||||
public function Capabilities() : ?array
|
public function Capabilities() : ?array
|
||||||
{
|
{
|
||||||
if (!$this->aCapa) {
|
if (!$this->aCapaRaw) {
|
||||||
$this->setCapabilities($this->SendRequestGetResponse('CAPABILITY'));
|
$this->Capability();
|
||||||
}
|
}
|
||||||
return $this->aCapaRaw;
|
return $this->aCapaRaw;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue