]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
added too many fields to this check
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 29 Mar 2012 20:27:42 +0000 (15:27 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 29 Mar 2012 20:27:42 +0000 (15:27 -0500)
src/mod/endpoints/mod_sofia/sofia_presence.c

index fc70c2d52178af07db2bd528c27761ebce555871..e64f430af7975b59c37e879ee1296471493456db 100644 (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;
        }