FS-5698 --resolve
This commit is contained in:
parent
e84e92dc85
commit
bdc2d307c4
|
@ -154,6 +154,11 @@ switch_status_t sofia_presence_chat_send(switch_event_t *message_event)
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!from) {
|
||||||
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Missing From: header.\n");
|
||||||
|
goto end;
|
||||||
|
}
|
||||||
|
|
||||||
if (!zstr(type)) {
|
if (!zstr(type)) {
|
||||||
ct = type;
|
ct = type;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue