rem: var ownerId = this.ownerId; var orgUID = getCalId(item.organizer); if (!orgUID) 
add: if (!this.session.isLoggedIn) return false; var orgCalId = getCalId(item.organizer); if (!orgCalId) 
context: function calWcapCalendar_isInvitation(item){    var ownerId = this.ownerId;    var orgUID = getCalId(item.organizer);    if (!orgUID)        return false;    // xxx todo: we assume calid globally unique. If X-S1CS-CALID is    //           not available, we assume an invitation => REPLY    if (orgUID && orgUID == ownerId)        return false;    return (getAttendeeByCalId(item.getAttendees({}), ownerId) != null);};
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/94c50a07421f89d75baba110e01b2599038d7714/calWcapCalendarItems.js/buggy/calendar/providers/wcap/calWcapCalendarItems.js