Monotone-Parent: a50fc375753b7b96ff66be21facc9b3cf09aeaf7

Monotone-Revision: d2e66141062b6a54f72d1984d7fdc67b55880949

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-11-01T22:20:30
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-11-01 22:20:30 +00:00
parent 8a4e5ecd4d
commit b4381db6ac
2 changed files with 9 additions and 1 deletions

View File

@@ -1,5 +1,10 @@
2007-11-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/AgenorUserDefaults.m ([AgenorUserDefaults
-primaryFetchProfile]): make sure that the deserialized "values"
is an instance of NSMutableDictionary, otherwise we override it
with one.
* SoObjects/Mailer/SOGoMailObject+Draft.m ([SOGoMailObject
-contentForReply]): make use of the SOGoMailReply WO page.

View File

@@ -158,7 +158,10 @@ static NSString *uidColumnName = @"c_uid";
mutabilityOption: NSPropertyListMutableContainers
format: NULL
errorDescription: &error];
[values retain];
if ([values isKindOfClass: [NSMutableDictionary class]])
[values retain];
else
values = [NSMutableDictionary new];
}
ASSIGN (lastFetch, [NSCalendarDate date]);