Fix for ticket #1667.

Monotone-Parent: ae81cfe6a503b99f0f90568c09a746363c68ef68
Monotone-Revision: f589a072c04be097399abcfe72a06e62a613c749

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-03-14T22:21:56
This commit is contained in:
Francis Lachapelle
2012-03-14 22:21:56 +00:00
parent 54f960ea32
commit 320b693f15
3 changed files with 12 additions and 13 deletions
+3 -7
View File
@@ -298,13 +298,9 @@ static NSString *defaultUserID = @"anyone";
if (!error)
{
// We unsubscribe to the old one, and subscribe back to the new one
if ([[[context activeUser] userDefaults]
mailShowSubscribedFoldersOnly])
{
[client subscribe: [destURL path]];
[client unsubscribe: [imap4URL path]];
}
}
[client subscribe: [destURL path]];
[client unsubscribe: [imap4URL path]];
}
}
else
error = [NSException exceptionWithName: @"SOGoMailException"