From 6ce660b9c2ace37798140576cec4ff18f072f0f4 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 1 Dec 2009 20:00:33 +0000 Subject: [PATCH] IQ sent to resource not connected, return service-unavailable instead of recipient-unavailable (EJAB-1045) SVN Revision: 2768 --- src/ejabberd_sm.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_sm.erl b/src/ejabberd_sm.erl index b42746ea8..5c1323ef8 100644 --- a/src/ejabberd_sm.erl +++ b/src/ejabberd_sm.erl @@ -481,7 +481,7 @@ do_route(From, To, Packet) -> _ -> Err = jlib:make_error_reply( - Packet, ?ERR_RECIPIENT_UNAVAILABLE), + Packet, ?ERR_SERVICE_UNAVAILABLE), ejabberd_router:route(To, From, Err) end; _ -> -- 2.40.0