diff -r 356f28cd5ca0 -r ed599363c2d7 pimappservices/calendar/server/src/agsalarm.cpp --- a/pimappservices/calendar/server/src/agsalarm.cpp Wed Sep 15 12:11:35 2010 +0300 +++ b/pimappservices/calendar/server/src/agsalarm.cpp Wed Oct 13 14:30:35 2010 +0300 @@ -438,6 +438,8 @@ if ( now < lastAlarm ) { + // We need to consider 2 sec window to make sure that same alarm + // is not queued again. now += TTimeIntervalSeconds(2); } } @@ -468,6 +470,9 @@ if ( now < lastAlarm ) { + // We need to consider 2 sec window to make sure that same alarm + // is not queued again. + now += TTimeIntervalSeconds(2); } }