Merge branch 'jacalvo/fix-optional-rec-type'

This commit is contained in:
Jesús García Sáez 2015-04-16 19:52:57 +02:00
commit 58449076a3
2 changed files with 6 additions and 3 deletions

3
NEWS
View file

@ -4,6 +4,9 @@ master
Enhancements Enhancements
- Synchronize events, contacts and tasks in reverse chronological order - Synchronize events, contacts and tasks in reverse chronological order
Bug fixes
- Optional attendes on events are now shown properly
2.2.17a-zentyal1 (2014-04-15) 2.2.17a-zentyal1 (2014-04-15)
-------------------- --------------------

View file

@ -273,7 +273,7 @@ static NSCharacterSet *hexCharacterSet = nil;
recipient->username = NULL; recipient->username = NULL;
entryId = MAPIStoreExternalEntryId (cn, email); entryId = MAPIStoreExternalEntryId (cn, email);
} }
recipient->type = MAPI_TO; recipient->type = [[person role] isEqualToString: @"OPT-PARTICIPANT"] ? MAPI_CC : MAPI_TO;
/* properties */ /* properties */
p = 0; p = 0;