On Wed, 2010-03-24 at 11:27 +0100, A.L.E.C wrote:
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.
Would be nice if one could set this in the configuration for example: $rcmail_config['imap_cap_after_login'] = TRUE;
Thanks! R.
List info: http://lists.roundcube.net/dev/