Rudolfs Osins wrote:
I was wondering, why my Roundcube instance wouldn't show the quota bar, turns out that there is a problem with detecting IMAP capabilities in the RC code. And looks like I'm not the only one: http://trac.roundcube.net/ticket/1485750
root@webmail:/var/www/rc# git diff program/lib/imap.inc diff --git a/program/lib/imap.inc b/program/lib/imap.inc index 9d896ff..6df5855 100644 --- a/program/lib/imap.inc +++ b/program/lib/imap.inc @@ -452,6 +452,7 @@ function iil_C_Login(&$conn, $user, $password) { if ($result == 0) { $conn->error .= ''; $conn->errorNum = 0;
}iil_C_ClearCapability($conn); return $conn->fp;
For clarity we should do this at the end of iil_C_Connect() before iil_C_Namespace() call. I also think this should be optional, because in most cases (no proxy) we don't need to renew capabilities. I'll work on this.