提交 e650939b authored 作者: Chris Rienzo's avatar Chris Rienzo

FS-6296 --resolve mod_rayo: fixed crash on <prompt> bad request

上级 20da5525
......@@ -312,7 +312,7 @@ static iks *prompt_component_handle_input_error(struct rayo_actor *prompt, struc
iks_insert_attrib(iq, "from", RAYO_JID(RAYO_COMPONENT(prompt)->parent));
iks_insert_attrib(iq, "to", RAYO_COMPONENT(prompt)->client_jid);
iks_insert_node(iq, iks_copy_within(error, iks_stack(iq)));
PROMPT_COMPONENT(prompt)->complete = iq;
PROMPT_COMPONENT(prompt)->complete = iks_copy(iq);
rayo_component_send_stop(prompt, PROMPT_COMPONENT(prompt)->output_jid);
break;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论