Comment 37 for bug 633352

Revision history for this message
Mariano Wahlmann (dichoso) wrote : Re: Cannot dismiss reminders

Just commenting the following out:

--- THIS ISN'T A VALID PATCH ----

  // if (invite === true) {
  // /* XXX only come here if the participation status changed */
  // var me = this.getInvitedAttendee(aNewItem);

  // if (me.participationStatus == "DECLINED")
  // del = true;

  // this.sdbg("PS: " + me.participationStatus + "\n");

  // 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.