[JDEV] unregister
Reinaldo Pires
reinaldo at impex.com
Tue Jan 30 10:09:50 CST 2001
Hi!
To unregister a user, you need to first login in the server as the user an
then send
this :
<iq type='set' id='1001' to='your_jserver_address'>
<query xmlns='jabber:iq:register'>
<remove/>
</query>
</iq>
Regards,
Reinaldo
----- Original Message -----
From: Amit <adev at flashmail.com>
To: <jdev at jabber.org>
Sent: Tuesday, January 30, 2001 1:26 PM
Subject: [JDEV] unregister
>
> As an amateur jabber client programmer, i have
> a small problem.
> I'm using jabberv1.0
>
> I registered a user, saved his key and send his
> key for unregister. The following is what i send.
>
> <iq type='set' to='oblivious' id='1001'>
> <query xmlns='jabber:iq:register'>
> <remove/>
> <key>1ba24fa8133ec0000da9e97901c45e3bc8a91a4f</key>
> </query> </iq>
>
> I'm getting the following error msg as result.
>
> <iq type='error' to='oblivious' id='1001' from='oblivious'>
> <query xmlns='jabber:iq:register'>
> <remove/>
> <key>1ba24fa8133ec0000da9e97901c45e3bc8a91a4f</key>
> </query> <error code='406'>Not Acceptable</error></iq>
>
> Can anybody help me ?
>
> BTW: the id attribute value was supplied by me. Does
> it signify anything?
>
>
>
>
>
>
> ______________________________________________________
> Get Your FREE FlashMail Address now at http://www.flashmail.com
> It's Free, Easy, & Fun !!!
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
More information about the JDev
mailing list