diff options
author | alecpl <alec@alec.pl> | 2010-06-07 10:03:59 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-06-07 10:03:59 +0000 |
commit | b93d00026aefbdccfabd6253f9cb184956617084 (patch) | |
tree | e96b2ef691af8401806de5cdba37dc93d1e4b966 /program | |
parent | 6a642d1a2e4029fd1462e68d43a55ca1b6351f01 (diff) |
- fix for initial capability response
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_imap_generic.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php index cd6a58dba..d5a5e3d4b 100644 --- a/program/include/rcube_imap_generic.php +++ b/program/include/rcube_imap_generic.php @@ -645,6 +645,7 @@ class rcube_imap_generic // RFC3501 [7.1] optional CAPABILITY response if (preg_match('/\[CAPABILITY ([^]]+)\]/i', $line, $matches)) { $this->capability = explode(' ', strtoupper($matches[1])); + $this->capability_readed = true; } $this->message .= $line; @@ -716,6 +717,7 @@ class rcube_imap_generic } $this->getNamespace(); $this->logged = true; + return true; } else { return false; |