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

This commit is contained in:
Chris Rienzo 2013-06-25 07:42:34 -04:00
parent 976083adf6
commit 31d0b7bff5
1 changed files with 1 additions and 1 deletions

View File

@ -603,7 +603,7 @@ static void *SWITCH_THREAD_FUNC deliver_message_thread(switch_thread_t *thread,
actor->send_fn(actor, msg);
switch_mutex_unlock(actor->mutex);
RAYO_UNLOCK(actor);
} else {
} else if (!msg->is_reply) {
/* unknown actor */
RAYO_SEND_REPLY(globals.server, msg->from_jid, iks_new_error(msg->payload, STANZA_ERROR_ITEM_NOT_FOUND));
}