Monotone-Parent: 09bcfb738b2c42b80dc2cb6f86e424832aa7812c
Monotone-Revision: d51b0bdc42c0c60b209cf5ea1a4e1394f6d8c81d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-14T15:23:01 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
d275e16043
commit
3e06ceed9c
|
@ -242,6 +242,7 @@ static Class SOGoUserFolderK;
|
||||||
struct SRow *properties;
|
struct SRow *properties;
|
||||||
NSArray *to;
|
NSArray *to;
|
||||||
NSInteger count, max;
|
NSInteger count, max;
|
||||||
|
NGImap4EnvelopeAddress *currentAddress;
|
||||||
NSString *name;
|
NSString *name;
|
||||||
uint32_t tags[] = { PR_SUBJECT_UNICODE, PR_HASATTACH,
|
uint32_t tags[] = { PR_SUBJECT_UNICODE, PR_HASATTACH,
|
||||||
PR_MESSAGE_DELIVERY_TIME, PR_MESSAGE_FLAGS,
|
PR_MESSAGE_DELIVERY_TIME, PR_MESSAGE_FLAGS,
|
||||||
|
@ -273,7 +274,10 @@ static Class SOGoUserFolderK;
|
||||||
PR_RECIPIENT_TYPE,
|
PR_RECIPIENT_TYPE,
|
||||||
MAPILongValue (memCtx, 0x01));
|
MAPILongValue (memCtx, 0x01));
|
||||||
|
|
||||||
name = [[to objectAtIndex: count] personalName];
|
currentAddress = [to objectAtIndex: count];
|
||||||
|
name = [currentAddress personalName];
|
||||||
|
if (![name length])
|
||||||
|
name = [currentAddress baseEMail];
|
||||||
set_SPropValue_proptag (&(recipients->aRow[count].lpProps[1]),
|
set_SPropValue_proptag (&(recipients->aRow[count].lpProps[1]),
|
||||||
PR_DISPLAY_NAME,
|
PR_DISPLAY_NAME,
|
||||||
[name asUnicodeInMemCtx: recipients->aRow[count].lpProps]);
|
[name asUnicodeInMemCtx: recipients->aRow[count].lpProps]);
|
||||||
|
|
Loading…
Reference in a new issue