提交 90c3b07e authored 作者: William King's avatar William King

If the chat message has been successfully delivered in the chat plan, then set…

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
上级 7eafa85d
......@@ -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) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论