+2007-05-23 Wolfgang Sourdeau <wsourdeau@inverse.ca>
+
+ * SoObjects/Appointments/SOGoCalendarComponent.m
+ ([SOGoCalendarComponent -getUIDsForICalPersons:iCalPersons]): add
+ the uid to the list only when the user email is recognized by the
+ user manager.
+
2007-05-22 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Mailer/SOGoMailObject.m ([SOGoMailObject
iCalPerson *currentPerson;
NSEnumerator *persons;
NSMutableArray *uids;
- NSString *email;
+ NSString *email, *uid;
LDAPUserManager *um;
uids = [NSMutableArray array];
currentPerson = [persons nextObject];
while (currentPerson)
{
- email = [currentPerson rfc822Email];
- [uids addObject: [um getUIDForEmail: email]];
+ uid = [um getUIDForEmail: [currentPerson rfc822Email]];
+ if (uid)
+ [uids addObject: uid];
currentPerson = [persons nextObject];
}