powered by Jive Software

Broadcast in xmpp issue

Hello folks, I am working on XMPP and I got need to send message to all my friends. So I thought to use broadcast all@broadcast.myser.com to send message, but the problem is that it sends message to all users that are in same server. My need is to send message only to members who are my friend and not to everyone. So just want to know if it is good to work on broadcast or is there any other method to do so.