See ChangeLog

Monotone-Parent: 8a33774ff55089b02c43fb1a6d1acfd98521c634
Monotone-Revision: ccaab9322e172157de4d07dca19f1e071e7836a4

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-10-19T12:56:52
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2009-10-19 12:56:52 +00:00
parent ddb50621cc
commit f0e37a8885
2 changed files with 12 additions and 4 deletions

View File

@@ -1,3 +1,10 @@
2009-10-19 Ludovic Marcotte <lmarcotte@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentObject.m
(saveComponent:) - in case of an update, we check
if no organizer was specified when handling
attendees addition to the event.
2009-10-17 Ludovic Marcotte <lmarcotte@inverse.ca>
* UI/WebServerResources/UIxListEditor.js (endEditable):

View File

@@ -546,6 +546,7 @@
}
else
{
BOOL hasOrganizer;
// Event is modified -- sent update status to all attendees
// and modify their calendars.
recurrenceId = [newEvent recurrenceId];
@@ -562,12 +563,12 @@
oldEvent = (iCalEvent*)[self newOccurenceWithID: recurrenceTime];
}
oldMasterEvent
= (iCalEvent *) [[oldEvent parent] firstChildWithTag: [self componentTag]];
if ([oldMasterEvent userIsOrganizer: ownerUser])
oldMasterEvent = (iCalEvent *) [[oldEvent parent] firstChildWithTag: [self componentTag]];
hasOrganizer = [[[oldMasterEvent organizer] email] length];
if (!hasOrganizer || [oldMasterEvent userIsOrganizer: ownerUser])
{
// The owner is the organizer of the event; handle the modifications
[self _handleUpdatedEvent: newEvent fromOldEvent: oldEvent];
// The sequence has possibly been increased -- resave the event.