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:
Ludovic Marcotte
2011-09-14 18:33:44 +00:00
parent 8fb4411dd6
commit 057a38355b
22 changed files with 713 additions and 47 deletions
+7 -1
View File
@@ -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)
{