diff --git a/NEWS b/NEWS index 805ac4f66..9bb1178e3 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,7 @@ - fixed a bug where the search of contacts would be done in authentication-only LDAP repositories - added the ability to transfer an event from one calendar to another - fixed a bug where deleting a contact would leave it listed in the contact list until the next refresh +- fixed a bug where events shared among different attendees would no longer be updated automatically 0.9.0-20080729 (1.0 rc7) ------------------------ diff --git a/SoObjects/Appointments/SOGoAppointmentObject.m b/SoObjects/Appointments/SOGoAppointmentObject.m index ea691fc36..672660c16 100644 --- a/SoObjects/Appointments/SOGoAppointmentObject.m +++ b/SoObjects/Appointments/SOGoAppointmentObject.m @@ -419,7 +419,7 @@ { if ([[attendee rsvp] isEqualToString: @"true"] && [event isStillRelevant]) - [self sendResponseToOrganizer]; + [self sendResponseToOrganizer: event]; organizerUID = [[event organizer] uid]; if (organizerUID) ex = [self _updateAttendee: attendee diff --git a/SoObjects/Appointments/SOGoCalendarComponent.h b/SoObjects/Appointments/SOGoCalendarComponent.h index a941cc0a8..1e8970717 100644 --- a/SoObjects/Appointments/SOGoCalendarComponent.h +++ b/SoObjects/Appointments/SOGoCalendarComponent.h @@ -65,7 +65,7 @@ toAttendees: (NSArray *) _attendees; - (void) sendIMIPReplyForEvent: (iCalRepeatableEntityObject *) event to: (iCalPerson *) recipient; -- (void) sendResponseToOrganizer; +- (void) sendResponseToOrganizer: (iCalRepeatableEntityObject *) newComponent; // - (BOOL) isOrganizerOrOwner: (SOGoUser *) user; diff --git a/SoObjects/Appointments/SOGoCalendarComponent.m b/SoObjects/Appointments/SOGoCalendarComponent.m index de77d9bc9..368f1ebb8 100644 --- a/SoObjects/Appointments/SOGoCalendarComponent.m +++ b/SoObjects/Appointments/SOGoCalendarComponent.m @@ -677,13 +677,13 @@ _occurenceHasID (iCalRepeatableEntityObject *occurence, NSString *recID) } } -- (void) sendResponseToOrganizer +- (void) sendResponseToOrganizer: (iCalRepeatableEntityObject *) newComponent { iCalPerson *organizer, *attendee; iCalEvent *event; SOGoUser *ownerUser; - event = [[self component: NO secure: NO] itipEntryWithMethod: @"reply"]; + event = [newComponent itipEntryWithMethod: @"reply"]; ownerUser = [SOGoUser userWithLogin: owner roles: nil]; if (![event userIsOrganizer: ownerUser]) {