diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 54f950833b..69e2f2eb08 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -1275,7 +1275,7 @@ void sofia_presence_handle_sip_i_message(int status, const char *subject = "n/a"; char *msg = NULL; - if (sip->sip_content_type && !switch_strlen_zero(sip->sip_content_type->c_subtype)) { + if (sip->sip_content_type && sip->sip_content_type->c_subtype) { if (strstr(sip->sip_content_type->c_subtype, "composing")) { return; }