mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
mod_rayo: don't send item-not-found to replies
This commit is contained in:
parent
cac8536170
commit
ad5ea44aeb
@ -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));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user