Commit 8a14cf16 authored by Vysheng's avatar Vysheng

updated test.lua

parent 9d6b4fc5
......@@ -88,9 +88,9 @@ function on_msg_receive (msg)
end
if (msg.text == 'PING') then
if (msg.to.id == our_id) then
fwd_msg (msg.from.print_name, msg.id)
fwd_msg (msg.from.print_name, msg.id, ok_cb, false)
else
fwd_msg (msg.to.print_name, msg.id)
fwd_msg (msg.to.print_name, msg.id, ok_cb, false)
end
return
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment