mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
alternate fix for a0e910014d with a slightly more efficient function
This commit is contained in:
@@ -447,7 +447,7 @@ SWITCH_STANDARD_CHAT_APP(reply_function)
|
||||
switch_ivr_create_message_reply(&reply, message, SMS_CHAT_PROTO);
|
||||
|
||||
if (!zstr(data)) {
|
||||
switch_event_add_body(reply, "%s", data);
|
||||
switch_event_set_body(reply, data);
|
||||
}
|
||||
|
||||
switch_core_chat_deliver(proto, &reply);
|
||||
|
||||
Reference in New Issue
Block a user