From b93d00026aefbdccfabd6253f9cb184956617084 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 7 Jun 2010 10:03:59 +0000 Subject: - fix for initial capability response --- program/include/rcube_imap_generic.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'program') 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; -- cgit v1.2.3