rem: } else if (event_type == EVENT_XCAP_CHANGE) {
add: } else if (event_package == EVENT_XCAP_CHANGE) {
context: static int publish_presentity(struct sip_msg* _m, struct pdomain* _d, struct presentity* presentity, int *pchanged){	event_t *parsed_event = (event_t *)_m->event->parsed;	int event_type = parsed_event->parsed;	if (event_type == EVENT_PRESENCE) {		publish_presentity_pidf(_m, _d, presentity, pchanged);	} else if (event_type == EVENT_XCAP_CHANGE) {		publish_presentity_xcap_change(_m, _d, presentity, pchanged);	}	LOG(L_INFO, "publish_presentity: event_type=%d -1-\n", event_type);	return 0;}