Hi,
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
- http://www.igniterealtime.org/community/docs/DOC-1036
I have also tried the documentation from the xmpp link XEP-0191: Blocking Command but still not working.
Example 6. Block command
> <iq from='juliet@capulet.com/chamber' type='set' id='block1'>
> <block xmlns='urn:xmpp:blocking'>
> <item jid='romeo@montague.net'/>
> </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);
Complete Code:-
How to block a user / group? - Smack Dev - Ignite Realtime Community Forums
Please help me to get out of this problem?
Thanks In Advance,
Samba