Monotone-Parent: 5335af27b0e9d71da6cdc33a28be0e109f79c8b2

Monotone-Revision: 4e17b08fe2e5110da212dc608cc2b8d378ef094a

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-12-09T21:56:24
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2008-12-09 21:56:24 +00:00
parent 742e7fd936
commit 757936291d
@@ -775,13 +775,11 @@
// Identify changes in order to send a notification to the attendee
// if necessary and with the proper template.
changes = [newEvent getChangesRelativeToEvent: oldEvent];
if ([[oldEvent sequence] compare: [newEvent sequence]] != NSOrderedSame)
{
if ([changes sequenceShouldBeIncreased])
isUpdate = YES;
else
hasChanged = NO;
}
if ([[oldEvent sequence] compare: [newEvent sequence]] != NSOrderedSame
&& [changes sequenceShouldBeIncreased])
isUpdate = YES;
else
hasChanged = NO;
}
// We generate the updated iCalendar file and we save it