]> err.no Git - scalable-opengroupware.org/commitdiff
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1070 d1b88da0-ebda-0310...
authorwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Wed, 23 May 2007 13:55:51 +0000 (13:55 +0000)
committerwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Wed, 23 May 2007 13:55:51 +0000 (13:55 +0000)
ChangeLog
SoObjects/Appointments/SOGoCalendarComponent.m

index c142c23e5b55f2be2f4dfd52a9a7173a30a3680b..01566a18ac9613bd5806ebece4f2da1fc372822f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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
index 9e8c841e6ceff9d91ddf780bc5985c9a77f36335..14267daf85c54e2a955c95c30efc8bb4080c614f 100644 (file)
@@ -513,7 +513,7 @@ static BOOL sendEMailNotifications = NO;
   iCalPerson *currentPerson;
   NSEnumerator *persons;
   NSMutableArray *uids;
-  NSString *email;
+  NSString *email, *uid;
   LDAPUserManager *um;
 
   uids = [NSMutableArray array];
@@ -523,8 +523,9 @@ static BOOL sendEMailNotifications = NO;
   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];
     }