mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
If the chat message has been successfully delivered in the chat plan, then set the status to success and don't fire an event about the chat delivery failure
This commit is contained in:
@@ -565,6 +565,7 @@ static switch_status_t do_chat_send(switch_event_t *message_event)
|
||||
status = ci->chat_send(message_event);
|
||||
if (status == SWITCH_STATUS_BREAK) {
|
||||
do_skip = 1;
|
||||
status = SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
if (status != SWITCH_STATUS_SUCCESS && status != SWITCH_STATUS_BREAK) {
|
||||
|
Reference in New Issue
Block a user