if (at.getPartStat().equals(IcalXmlStrMap.PARTSTAT_NEEDS_ACTION) && (mMethod == ICalTok.REQUEST || mMethod == ICalTok.COUNTER)) { setNeedsReply(true); }
if (mMethod == ICalTok.REQUEST || mMethod == ICalTok.COUNTER) { String ps = IcalXmlStrMap.PARTSTAT_NEEDS_ACTION; if (at.hasPartStat()) ps = at.getPartStat(); if (ps.equals(IcalXmlStrMap.PARTSTAT_NEEDS_ACTION)) setNeedsReply(true); }
    public void updateMyPartStat(Account acct) throws ServiceException {        boolean iAmOrganizer = thisAcctIsOrganizer(acct);        if (iAmOrganizer) {            setPartStat(IcalXmlStrMap.PARTSTAT_ACCEPTED);            setNeedsReply(false);        } else {            ZAttendee at = getMatchingAttendee(acct);            if (at != null) {                if (at.getPartStat().equals(IcalXmlStrMap.PARTSTAT_NEEDS_ACTION) &&                        (mMethod == ICalTok.REQUEST || mMethod == ICalTok.COUNTER)) {                    setNeedsReply(true);                }            } else {                // if this is the first time we're parsing this, and we can't find ourself on the                // attendee list, then allow a reply...                setNeedsReply(true);            }        }    }