[jdev] blocking and unblocking

2007-05-10 Thread Bruno Bechler Machado
Hy.. sorry for post this subject again, but my problem isn't solved.. I need to block and unblock users using Java smack api 2.2.1.. someone can help me? please??? i've been trying to do: public void blockingContactGateway(XMPPConnection connection, String contact, String gateway

Re: [jdev] blocking and unblocking user

2007-02-16 Thread Dave Cridland
On Fri Feb 16 12:41:35 2007, Richard Dobson wrote: It looks like you arn't sending completely valid xmpp xml, there shouldn't really be an extra namespace declaration on the item element as that element should already be in that namespace, But that's still legal, as far as I know. there are

Re: [jdev] blocking and unblocking user

2007-02-16 Thread Richard Dobson
Hi, I tried to block a user by sending the fallowing stanza. -- SEND: --- jid="[EMAIL PROTECTED] " xmlns="jabber:iq:privacy"> It looks like you arn't sending completely valid xmpp xml, there shouldn't really be an extra na

[jdev] blocking and unblocking user

2007-02-16 Thread Ganesh Kundapur
Hi, I tried to block a user by sending the fallowing stanza. -- SEND: --- -- When i retrive the privacy list, its showing empty. -- SEND: --- --- RECV [58]: ---