I have tried the links mentioned in some other posts but nothing worked.
- http://www.igniterealtime.org/builds/smack/docs/latest/documentation/privacy.htm l
I have also tried the documentation from the xmpp link http://xmpp.org/extensions/xep-0191.html but still not working.
Example 6. Block command
> <iq firstname.lastname@example.org/chamber' type='set' id='block1'> > <block xmlns='urn:xmpp:blocking'> > <item email@example.com'/> > </block> > </iq>
I have logged in to pidgin using my openfire account and when i try to block a contact it says “server doesn’t support blocking”.
In my openfire in have installed “Packet Filter” and “IM plugin”.
Also please check that i am using code already in my earlier post: (Sorry for this)
What should i choose as privacy rule to block / unblock a user in below line and i am sure i am not doing this correctly.
PrivacyItem item = new PrivacyItem(PrivacyItem.PrivacyRule.SUBSCRIPTION_NONE, true, 2);
Please help me to get out of this problem?
Thanks In Advance,