On 09 Jun 2014, at 12:04, A.L.E.C <[email protected]> wrote: > 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.
I could have sworn I saw imap calls when using that function, but maybe im mistaken, i'll experiment some more. Thanks Alec, Cor _______________________________________________ Roundcube Development discussion mailing list [email protected] http://lists.roundcube.net/mailman/listinfo/dev
