ZOrganizer originalOrganizer = appt.getDefaultInvite().getOrganizer(); appt.processNewInvite(originalOrganizer, pm, cur, false, appt.getFolderId(), volumeId);
appt.processNewInvite(pm, cur, false, appt.getFolderId(), volumeId);
   private void processInvitesAfterCreate(String method, int folderId, short volumeId, boolean createAppt,                                          ParsedMessage pm, List<Invite> invites)    throws ServiceException {       // since this is the first time we've seen this Invite Message, we need to process it       // and see if it updates an existing Appointment in the Appointments table, or whatever...       boolean updatedMetadata = false;       for (Invite cur : invites) {           Appointment appt = mMailbox.getAppointmentByUid(cur.getUid());           if (createAppt) {               if (appt == null) {                    // ONLY create an appointment if this is a REQUEST method...otherwise don't.                   if (method.equals(ICalTok.REQUEST.toString())) {                       appt = mMailbox.createAppointment(Mailbox.ID_FOLDER_CALENDAR, volumeId, "", cur.getUid(), pm, cur);                   } else {                       sLog.info("Mailbox " + getMailboxId()+" Message "+getId()+" SKIPPING Invite "+method+" b/c no Appointment could be found");                       return; // for now, just ignore this Invitation                   }               } else {            	   // When updating an existing appointment, ignore the            	   // passed-in folderId which will usually be Inbox.  Leave            	   // the appointment in the folder it's currently in.                   ZOrganizer originalOrganizer = appt.getDefaultInvite().getOrganizer();                   appt.processNewInvite(originalOrganizer,                                         pm, cur, false, appt.getFolderId(), volumeId);               }           }           if (appt != null) {               ApptInfo info = new ApptInfo(appt.getId(), cur.getComponentNum());               if (mApptInfos == null) {                   mApptInfos = new ArrayList<ApptInfo>();               }               mApptInfos.add(info);               updatedMetadata = true;           }       }              if (updatedMetadata)           saveMetadata();   }