mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-04 12:58:50 +00:00
Monotone-Parent: 4aebdfab09fd72cefd327e453f27e340da9f8738
Monotone-Revision: 6d3ffdac670dcdb4b4ded0a4c992663c091081b4 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-01-30T21:42:10 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -72,6 +72,26 @@
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (void) addProperties: (NSDictionary *) newProperties
|
||||
{
|
||||
NSString *newDisplayName;
|
||||
NSMutableDictionary *propsCopy;
|
||||
NSNumber *key;
|
||||
|
||||
key = MAPIPropertyKey (PR_DISPLAY_NAME_UNICODE);
|
||||
newDisplayName = [newProperties objectForKey: key];
|
||||
if (newDisplayName)
|
||||
{
|
||||
[sogoObject renameTo: newDisplayName];
|
||||
propsCopy = [newProperties mutableCopy];
|
||||
[propsCopy removeObjectForKey: key];
|
||||
[propsCopy autorelease];
|
||||
newProperties = propsCopy;
|
||||
}
|
||||
|
||||
[super addProperties: newProperties];
|
||||
}
|
||||
|
||||
- (NSArray *) messageKeysMatchingQualifier: (EOQualifier *) qualifier
|
||||
andSortOrderings: (NSArray *) sortOrderings
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user