added too many fields to this check

This commit is contained in:
Anthony Minessale 2012-03-29 15:27:42 -05:00
parent 67b65f95d0
commit 7384288ce1
1 changed files with 1 additions and 1 deletions

View File

@ -1852,7 +1852,7 @@ static void _send_presence_notify(sofia_profile_t *profile,
char *route_uri = NULL, *o_contact_dup = NULL, *tmp, *to_uri, *dcs = NULL;
const char *tp;
if (zstr(full_to) || zstr(full_from) || zstr(o_contact) || zstr(expires) || zstr(ct) || zstr(pl)) {
if (zstr(full_to) || zstr(full_from) || zstr(o_contact)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "MISSING DATA TO SEND NOTIFY.\n");
return;
}