mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 23:07:12 +00:00
Monotone-Parent: ae56889949daaa81cfc557f2e59396ea0a1c9e4b
Monotone-Revision: 031eaa8e565a8e094474a94e380477a15e9642ab Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-08-13T19:10:09 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
bc6bbafd3c
commit
a09c000e72
2 files changed
+12
-3
No files matched your search
@@ -295,6 +295,8 @@ static NSString *defaultUserID = @"anyone";
|
||||
keyLength = [key length];
|
||||
[uids addObject: [key substringToIndex: keyLength - 4]];
|
||||
}
|
||||
else
|
||||
[uids addObject: key];
|
||||
}
|
||||
infos = (NSDictionary *) [self fetchUIDs: uids parts: SOGoMailCoreInfoKeys];
|
||||
|
||||
@@ -740,7 +742,7 @@ static NSString *defaultUserID = @"anyone";
|
||||
inContext: (id)_ctx
|
||||
acquire: (BOOL) _acquire
|
||||
{
|
||||
NSString *folderName, *fullFolderName, *className, *uid;
|
||||
NSString *folderName, *fullFolderName, *className;
|
||||
SOGoMailAccount *mailAccount;
|
||||
id obj;
|
||||
|
||||
@@ -778,8 +780,9 @@ static NSString *defaultUserID = @"anyone";
|
||||
&& [[self imap4Connection] doesMailboxExistAtURL: [self imap4URL]])
|
||||
{
|
||||
obj = [SOGoMailObject objectWithName: _key inContainer: self];
|
||||
uid = [_key substringToIndex: [_key length] - 4];
|
||||
[obj setCoreInfos: [prefetchedInfos objectForKey: uid]];
|
||||
if ([_key hasSuffix: @".eml"])
|
||||
_key = [_key substringToIndex: [_key length] - 4];
|
||||
[obj setCoreInfos: [prefetchedInfos objectForKey: _key]];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user