I am implementing a chat using openfire server. Is there any way to drop all the packets(Iq, message, muc, presence) incase communication is between two where one is not in roster list of another?
For example if ‘A’ sends a message to ‘B’ and if ‘A’ is not in 'B’s roster list or vice versa than all packets will be dropped.
Please let me know if I can acheive this functionality by tweaking server code(I can build it from source code) or using some plugin.
Any help will be much appreciated.
Thanks & Regards.