[jdev] identify whether an user is registered in gateway
Eugeny N Dzhurinsky
bofh at redwerk.com
Mon May 14 08:38:15 CDT 2007
Hello!
Could somebody please advice is there any way to find if an user is
successfully registered in a gateway? As stated in xep-0030, I have to send
<iq type='get'
from='shakespeare.lit'
to='juliet at capulet.com'
id='info2'>
<query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>
and in result there will be
<iq type='result'
from='juliet at capulet.com'
to='shakespeare.lit'
id='info2'>
<query xmlns='http://jabber.org/protocol/disco#info'>
<identity category='account' type='registered'/>
</query>
</iq>
But in my case if I send similar packet to PyAIM gateway, I will get back list
of features supported by gateway instead of information if the account
registered.
Do I miss something?
--
Eugene N Dzhurinsky
More information about the JDev
mailing list