Monotone-Parent: 7b1c90d751a6ba1af3047dcf85c17673325dfcfe

Monotone-Revision: 061cc2eb8f9bda5061964762be7e29f658995ea6

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-07-01T20:25:20
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert committed 2009-07-01 20:25:20 +00:00
1 parent e295706e1d
commit 1f987c15be
1 file changed
+13 -3
+13 -3
View File
@@ -658,7 +658,7 @@ static NSArray *childRecordFields = nil;
NSMutableArray *folderSubscription;
NSString *subscriptionPointer, *mailInvitationURL;
NSUserDefaults *ud;
NSMutableDictionary *moduleSettings;
NSMutableDictionary *moduleSettings, *tmp;
if ([owner isEqualToString: [subscribingUser login]])
{
@@ -692,8 +692,18 @@ static NSArray *childRecordFields = nil;
[folderSubscription addObjectUniquely: subscriptionPointer];
else
{
[[moduleSettings objectForKey: @"FolderColors"]
removeObjectForKey: subscriptionPointer];
tmp = [moduleSettings objectForKey: @"FolderColors"];
if (tmp)
[tmp removeObjectForKey: subscriptionPointer];
tmp = [moduleSettings objectForKey: @"InactiveFolders"];
if (tmp)
[tmp removeObjectForKey: subscriptionPointer];
tmp = [moduleSettings objectForKey: @"FolderSyncTags"];
if (tmp)
[tmp removeObjectForKey: subscriptionPointer];
[folderSubscription removeObject: subscriptionPointer];
}