summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcube_imap_generic.php2
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;