]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_rayo: don't send item-not-found to replies
authorChris Rienzo <chris.rienzo@grasshopper.com>
Tue, 25 Jun 2013 11:42:34 +0000 (07:42 -0400)
committerChris Rienzo <chris.rienzo@grasshopper.com>
Tue, 25 Jun 2013 11:42:34 +0000 (07:42 -0400)
src/mod/event_handlers/mod_rayo/mod_rayo.c

index 36200aa2fb012296d6843e7648176964d93823f7..3901a1b79f56ec9c5cecadfe8792c3aa31a39e17 100644 (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));
                        }