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

mod_rayo: don't send item-not-found to replies

上级 cac85361
...@@ -603,7 +603,7 @@ static void *SWITCH_THREAD_FUNC deliver_message_thread(switch_thread_t *thread, ...@@ -603,7 +603,7 @@ static void *SWITCH_THREAD_FUNC deliver_message_thread(switch_thread_t *thread,
actor->send_fn(actor, msg); actor->send_fn(actor, msg);
switch_mutex_unlock(actor->mutex); switch_mutex_unlock(actor->mutex);
RAYO_UNLOCK(actor); RAYO_UNLOCK(actor);
} else { } else if (!msg->is_reply) {
/* unknown actor */ /* unknown actor */
RAYO_SEND_REPLY(globals.server, msg->from_jid, iks_new_error(msg->payload, STANZA_ERROR_ITEM_NOT_FOUND)); RAYO_SEND_REPLY(globals.server, msg->from_jid, iks_new_error(msg->payload, STANZA_ERROR_ITEM_NOT_FOUND));
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论