Monotone-Parent: 4ad21ea0342a626a99aabc213cf8ed9a827eb0c4

Monotone-Revision: d175e2ab17f0d56d2fdc9a046048a0302d9fd0f7

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-11-02T13:16:05
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-11-02 13:16:05 +00:00
parent 29ffadc001
commit 5c811e36ca
14 changed files with 37 additions and 678 deletions
+5 -5
View File
@@ -30,8 +30,8 @@
#import <NGExtensions/NSObject+Logs.h>
#import "NSArray+Utilities.h"
#import "NSDictionary+BSJSONAdditions.h"
#import "NSString+Utilities.h"
#import "NSObject+Utilities.h"
#import "SOGoDomainDefaults.h"
#import "SOGoSource.h"
#import "SOGoSystemDefaults.h"
@@ -440,7 +440,7 @@
// internal cache.
[currentUser setObject: _pwd forKey: @"password"];
[[SOGoCache sharedCache]
setUserAttributes: [currentUser jsonStringValue]
setUserAttributes: [currentUser jsonRepresentation]
forLogin: _login];
}
else
@@ -481,7 +481,7 @@
// internal cache.
[currentUser setObject: newPassword forKey: @"password"];
[[SOGoCache sharedCache]
setUserAttributes: [currentUser jsonStringValue]
setUserAttributes: [currentUser jsonRepresentation]
forLogin: login];
}
else
@@ -595,13 +595,13 @@
key = [newUser objectForKey: @"c_uid"];
if (key)
[[SOGoCache sharedCache]
setUserAttributes: [newUser jsonStringValue]
setUserAttributes: [newUser jsonRepresentation]
forLogin: key];
emails = [[newUser objectForKey: @"emails"] objectEnumerator];
while ((key = [emails nextObject]))
[[SOGoCache sharedCache]
setUserAttributes: [newUser jsonStringValue]
setUserAttributes: [newUser jsonRepresentation]
forLogin: key];
}