// data = makeMeetingResponse(aNewItem, me.participationStatus);
// // XXX
// var a = this.getInvitedAttendee(aOldItem)
// .participationStatus;
// var b = me.participationStatus;
// if (((a == b)
// && (a == "ACCEPTED" || a == "NEEDS-ACTION"))
// || ((a == "TENTATIVE") && (b == "NEEDS-ACTION")))
// data = "";
// } else
--- THIS ISN'T A VALID PATCH ----
Did the trick of letting me dimiss previous alarms. That proves that the function modifyItem needs rework to take into consideration the dismiss condition.
Just commenting the following out:
--- THIS ISN'T A VALID PATCH ----
// if (invite === true) { Attendee( aNewItem) ;
// /* XXX only come here if the participation status changed */
// var me = this.getInvited
// if (me.participati onStatus == "DECLINED")
// del = true;
// this.sdbg("PS: " + me.participatio nStatus + "\n");
// data = makeMeetingResp onse(aNewItem, me.participatio nStatus) ;
// // XXX Attendee( aOldItem) tatus; nStatus;
// var a = this.getInvited
// .participationS
// var b = me.participatio
// if (((a == b)
// && (a == "ACCEPTED" || a == "NEEDS-ACTION"))
// || ((a == "TENTATIVE") && (b == "NEEDS-ACTION")))
// data = "";
// } else
--- THIS ISN'T A VALID PATCH ----
Did the trick of letting me dimiss previous alarms. That proves that the function modifyItem needs rework to take into consideration the dismiss condition.