Commit 90f2bb9d authored by Vlatko Kosturjak's avatar Vlatko Kosturjak

Introduce option to really send to all resources

Introduce option to really send to all resources

fix missing bracket
parent 895bdbd9
......@@ -537,6 +537,14 @@ public class RoutingTableImpl extends BasicModule implements RoutingTable, Clust
// Get the highest priority sessions for normal processing.
List<ClientSession> highestPrioritySessions = getHighestPrioritySessions(nonNegativePrioritySessions);
// Deliver to each session if property route.really-all-resources is true
if (JiveGlobals.getBooleanProperty("route.really-all-resources", false)) {
for (ClientSession session : nonNegativePrioritySessions) {
session.process(packet);
}
return true;
}
// Check for message carbons enabled sessions and send the message to them.
for (ClientSession session : nonNegativePrioritySessions) {
// Deliver to each session, if is message carbons enabled.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment