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.