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:
parent
575e07a986
commit
6ce660b9c2
@ -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;
|
||||||
_ ->
|
_ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user