Commit 61a7edc7 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added "all" group to the list of disco#items.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3520 b35dd754-fafc-0310-a699-88a17e54d16e
parent ff5a11bd
......@@ -364,6 +364,11 @@ public class BroadcastPlugin implements Plugin, Component, PropertyEventListener
// Group name is not valid to be used as a JID
}
}
if (allowedUsers.isEmpty() || allowedUsers.contains(address)) {
// Add the "all" group to the list
childElementCopy.addElement("item").addAttribute("jid",
"all@" + serviceName + "." + componentManager.getServerName());
}
}
}
else {
......
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