/* nu_requested is set by SUBSCRIBE and cleared when NOTIFY is sent */
if (nu && nu->nu_requested && substate != nua_substate_embryonic) {
-#if SU_HAVE_EXPERIMENTAL
sip_t const *sip = sr->sr_request.sip;
+#if SU_HAVE_EXPERIMENTAL
sip_suppress_notify_if_match_t *snim = sip_suppress_notify_if_match(sip);
sip_suppress_body_if_match_t *sbim = sip_suppress_body_if_match(sip);
notify = 1, nu->nu_no_body = 1;
else
#endif
- notify = 1;
+ if (sip->sip_expires && sip->sip_expires->ex_delta) notify = 1;
}
retval = nua_base_server_treport(sr, NUTAG_SUBSTATE(substate), TAG_END());