1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-11-11 20:05:03 -05:00

Caldav: fix 2884864, send notifications to all participants on CANCEL

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@914 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-01-19 13:45:35 +00:00
parent c4739b57b1
commit 1df26cdd64

View File

@ -2220,7 +2220,12 @@ public class ExchangeSession {
} else if (!email.equalsIgnoreCase(value) && value.indexOf('@') >= 0
&& (!isNotification
|| line.indexOf("RSVP=TRUE") >= 0
|| line.indexOf("PARTSTAT=NEEDS-ACTION") >= 0)) {
|| line.indexOf("PARTSTAT=NEEDS-ACTION") >= 0
// need to include other PARTSTATs participants for CANCEL notifications
|| line.indexOf("PARTSTAT=ACCEPTED") >=0
|| line.indexOf("PARTSTAT=DECLINED") >=0
|| line.indexOf("PARTSTAT=TENTATIVE") >=0
)) {
if (line.indexOf("ROLE=OPT-PARTICIPANT") >= 0) {
optionalAttendees.add(value);
} else {