I wonder if source code for broadcast login available anywhere.
My problem:
.After perform “group integration” (according to Custom Database Integration Guide), i can not broadcast message to any specific group. All groups appear ok via administration console though. I still can broadcast to all (all@broadcast.hostname).
Many thanks for all replies so far and I have got all the source code.
I have another question regarding broadcast plugin as following:
When broadcasting message to a group, broadcast plugin only broadcasts the message to non-admin members of the group (all the members that are returned from group.getMembers() call). I wonder if it is intentionally designed this way, or it is a bug.
And also there is a bug in JDBCGroupProvider.getMembers(),
if (user.indexOf(’’@’’) == -1) {
// Create JID of local user if JID does not match a component’'s JID
if (!server.matchesComponent(userJID)) {
userJID = server.createJID(user, null);
}
}
is missing in the while loop. This causes problem when client fetches roster group from server, the roster group only contains user name but not a complete JID ehich is username@address…