25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Local stanzas are routed one by one, not by multicast

This commit is contained in:
Badlop 2018-11-06 00:07:34 +01:00
parent 9253f3d113
commit 602bfa3c3c

View File

@ -826,6 +826,9 @@ add_response(RServer, Response, State) ->
search_server_on_cache(RServer, LServerS, _LServiceS, _Maxmins) search_server_on_cache(RServer, LServerS, _LServiceS, _Maxmins)
when RServer == LServerS -> when RServer == LServerS ->
route_single; route_single;
search_server_on_cache(RServer, LServerS, LServiceS, _Maxmins)
when RServer == LServiceS ->
route_single;
search_server_on_cache(RServer, _LServerS, LServiceS, Maxmins) -> search_server_on_cache(RServer, _LServerS, LServiceS, Maxmins) ->
case look_server(RServer) of case look_server(RServer) of
not_cached -> not_cached ->