]> granicus.if.org Git - ejabberd/commitdiff
Local stanzas are routed one by one, not by multicast
authorBadlop <badlop@process-one.net>
Mon, 5 Nov 2018 23:07:34 +0000 (00:07 +0100)
committerBadlop <badlop@process-one.net>
Mon, 5 Nov 2018 23:07:34 +0000 (00:07 +0100)
src/mod_multicast.erl

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