On 06/09/2014 11:55 AM, Cor Bosman wrote:
> Hey devs, i need to know if an imap server supports threading. I can ask this
> through the capability functions, but that is a really expensive call because
> it asks the imap server. Obviously RC could know the capabilities right at
> login because the response of the login is a capability string.
>
> Is this string saved anywhere so I can use it without making an expensive
> imap call? From any task.
Use rcube::get_storage()->get_capability('THREAD'), it is cached in session.
--
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
_______________________________________________
Roundcube Development discussion mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/dev