]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
If the chat message has been successfully delivered in the chat plan, then set the...
authorWilliam King <william.king@quentustech.com>
Tue, 16 Oct 2012 21:41:29 +0000 (14:41 -0700)
committerWilliam King <william.king@quentustech.com>
Tue, 16 Oct 2012 21:41:29 +0000 (14:41 -0700)
src/switch_loadable_module.c

index 90410d3d8fb651e43c939879425b5f1948ab3268..3a79c3e024bfdc60e28e9adc2943881a6a5cef92 100644 (file)
@@ -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) {