Remove extraneous abort(3) when sending chat
This appears to have been accidentally added in commit
79ebcb104b
which sought to provide a
mechanism for disabling Sofia's chat interface. The abort(3) here
achieved that a bit too well.
This commit is contained in:
parent
79ebcb104b
commit
175c9eebca
|
@ -150,7 +150,7 @@ switch_status_t sofia_presence_chat_send(switch_event_t *message_event)
|
|||
network_port = switch_event_get_header(message_event, "to_sip_port");
|
||||
|
||||
extra_headers = sofia_glue_get_extra_headers_from_event(message_event, SOFIA_SIP_HEADER_PREFIX);
|
||||
abort();
|
||||
|
||||
if (!to) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Missing To: header.\n");
|
||||
goto end;
|
||||
|
|
Loading…
Reference in New Issue