mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-19 17:57:22 +00:00
alternate fix for a0e910014d37cb3a32bb50091092ad54fa138422 with a slightly more efficient function
This commit is contained in:
parent
a0e910014d
commit
33998df974
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user