Fixed IMAP copy/move op between subfolder in different accounts
parent
bc2b41f383
commit
1f5a2a4c62
1
NEWS
1
NEWS
|
@ -24,6 +24,7 @@ Bug fixes
|
|||
- fixed display of images in CSS background (#2437)
|
||||
- fixed limitation of Sieve script size (#2745)
|
||||
- fixed sync-token generation when no change was returned (#2492)
|
||||
- fixed the IMAP copy/move operation between subfolders in different accounts
|
||||
|
||||
2.2.3 (2014-04-03)
|
||||
------------------
|
||||
|
|
|
@ -660,8 +660,12 @@ static NSString *defaultUserID = @"anyone";
|
|||
// Destination folder is in a different account
|
||||
SOGoMailAccounts *accounts;
|
||||
SOGoMailAccount *account;
|
||||
accounts = [[self container] container];
|
||||
SOGoUserFolder *userFolder;
|
||||
|
||||
userFolder = [[context activeUser] homeFolderInContext: context];
|
||||
accounts = [userFolder lookupName: @"Mail" inContext: context acquire: NO];
|
||||
account = [accounts lookupName: [folders objectAtIndex: 1] inContext: localContext acquire: NO];
|
||||
|
||||
if ([account isKindOfClass: [NSException class]])
|
||||
{
|
||||
result = [NSException exceptionWithHTTPStatus: 500
|
||||
|
|
Loading…
Reference in New Issue