mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 21:53:19 +00:00
See ChangeLog
Monotone-Parent: 8027e57cbf5cbb4ab2ee6bf9509fe2f571f150c1 Monotone-Revision: 0ffde732abb09a8e3d0382ed47a3ec787f25796e Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2011-09-14T18:33:44 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -160,7 +160,13 @@ static BOOL debugOn = YES;
|
||||
if (!imap4)
|
||||
{
|
||||
sogoCache = [SOGoCache sharedCache];
|
||||
cacheKey = [[self mailAccountFolder] nameInContainer];
|
||||
// The cacheKey *MUST* be prefixed by the username here as
|
||||
// the cache is shared across OpenChange users and not necessarily
|
||||
// flushed between requests. This could lead us to using the wrong
|
||||
// IMAP connection.
|
||||
cacheKey = [NSString stringWithFormat: @"%@+%@",
|
||||
[[[self context] activeUser] login],
|
||||
[[self mailAccountFolder] nameInContainer]];
|
||||
imap4 = [sogoCache imap4ConnectionForKey: cacheKey];
|
||||
if (!imap4)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user