mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-22 07:14:21 +00:00
Monotone-Parent: 40c6f56ac0840b5680cd43b2a9d5ef7d03bd69e2
Monotone-Revision: a969c621c7bdf36505c11f0aaf6e61680e8375f7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-05-05T23:39:07 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
f767b4b11e
commit
e6e6542d95
3 files changed
+21
-18
No files matched your search
@@ -180,18 +180,18 @@
|
||||
|
||||
[self _setupContext];
|
||||
folderSubscription
|
||||
= [moduleSettings objectForKey: @"ActiveFolders"];
|
||||
= [moduleSettings objectForKey: @"InactiveFolders"];
|
||||
if (!folderSubscription)
|
||||
{
|
||||
folderSubscription = [NSMutableArray array];
|
||||
[moduleSettings setObject: folderSubscription forKey: @"ActiveFolders"];
|
||||
[moduleSettings setObject: folderSubscription forKey: @"InactiveFolders"];
|
||||
}
|
||||
|
||||
folderName = [clientObject nameInContainer];
|
||||
if (makeActive)
|
||||
[folderSubscription addObjectUniquely: folderName];
|
||||
else
|
||||
[folderSubscription removeObject: folderName];
|
||||
else
|
||||
[folderSubscription addObjectUniquely: folderName];
|
||||
|
||||
[ud synchronize];
|
||||
|
||||
|
||||
Reference in new issue
Block a user