--- a/pimappservices/calendar/server/src/agssess.cpp Wed Jun 23 18:11:28 2010 +0300
+++ b/pimappservices/calendar/server/src/agssess.cpp Tue Jul 06 14:14:56 2010 +0300
@@ -142,7 +142,24 @@
{
return EFalse;
}
-
+
+ // Check for the requested entry type and the change type.
+ // Don't notify clients which are listening for event and
+ // to-do notifictaions when note event is modified.
+ if ( ((iEntryType == MCalChangeCallBack2::EChangeEntryEvent) ||
+ (iEntryType == MCalChangeCallBack2::EChangeEntryTodo)) &&
+ (aChange.iEntryType == CCalEntry::ENote))
+ {
+ return EFalse;
+ }
+
+ // Notify clients which are listening for event type note modifications.
+ if (iEntryType == MCalChangeCallBack2::EChangeEntryNote &&
+ aChange.iEntryType == CCalEntry::ENote)
+ {
+ return ETrue;
+ }
+
// Check the entry is within the time range specified by the filter
// aChange.iRepeatRule gives the repeat data for the newly stored entry. If this operation is an update,
// then aChange.iOriginalRepeatRule gives the repeat data for the old entry.