You don't say if you mean the current jid, or any jid registered to the gateway.<br><br>If you mean the current jid, then send <query xmlns="jabber:iq:register"/>, and if the resulting reply has <registered/> then the current user is probably registered.
<br><br>If you mean any jid, then unfortunately I don't think PyAIMt offers this feature, have a look in the spool folder and see if a file exists for that user?<br><br>Norman<br><br><div><span class="gmail_quote">On 5/14/07,
<b class="gmail_sendername">Eugeny N Dzhurinsky</b> <<a href="mailto:bofh@redwerk.com">bofh@redwerk.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello!<br><br>Could somebody please advice is there any way to find if an user is<br>successfully registered in a gateway? As stated in xep-0030, I have to send<br><br><iq type='get'<br> from='shakespeare.lit
'<br> to='<a href="mailto:juliet@capulet.com">juliet@capulet.com</a>'<br> id='info2'><br> <query xmlns='<a href="http://jabber.org/protocol/disco#info'/">http://jabber.org/protocol/disco#info'/
</a>><br></iq><br><br>and in result there will be<br><br><iq type='result'<br> from='<a href="mailto:juliet@capulet.com">juliet@capulet.com</a>'<br> to='shakespeare.lit'<br> id='info2'>
<br> <query xmlns='<a href="http://jabber.org/protocol/disco#info'">http://jabber.org/protocol/disco#info'</a>><br> <identity category='account' type='registered'/><br> </query>
<br></iq><br><br>But in my case if I send similar packet to PyAIM gateway, I will get back list<br>of features supported by gateway instead of information if the account<br>registered.<br><br>Do I miss something?<br>
<br>--<br>Eugene N Dzhurinsky<br></blockquote></div><br><br clear="all"><br>-- <br>- Norman Rasmussen<br> - Email: <a href="mailto:norman@rasmussen.co.za">norman@rasmussen.co.za</a><br> - Home page: <a href="http://norman.rasmussen.co.za/">
http://norman.rasmussen.co.za/</a>