26
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

IQ sent to resource not connected, return service-unavailable instead of recipient-unavailable (EJAB-1045)

SVN Revision: 2768
This commit is contained in:
Badlop 2009-12-01 20:00:33 +00:00
parent 575e07a986
commit 6ce660b9c2

View File

@ -481,7 +481,7 @@ do_route(From, To, Packet) ->
_ -> _ ->
Err = Err =
jlib:make_error_reply( jlib:make_error_reply(
Packet, ?ERR_RECIPIENT_UNAVAILABLE), Packet, ?ERR_SERVICE_UNAVAILABLE),
ejabberd_router:route(To, From, Err) ejabberd_router:route(To, From, Err)
end; end;
_ -> _ ->