- fix for initial capability response

release-0.6
alecpl 15 years ago
parent 6a642d1a2e
commit b93d00026a

@ -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;

Loading…
Cancel
Save