[JDEV] recv STATUS of icq contacts?
aliban at gmx.net
aliban at gmx.net
Fri Jan 11 07:45:43 CST 2002
Hi, in my client(skabber) i implemented the transports...
i got 2 problems. The first problem i already described in an earlier
mail but here again.
1. Unregistering from a AIM gateway works fine. But when i try to
register to this gateway again >IN THE SAME SESSION< it
doesn´t accept my iq:register with errorcode 406 NOT
ACCEPTABLE. In addition to that an iq:register i send to the
gateway to GET the required info i will have to send to register i
receive beside the <password/> and <username/> an <registered/>
(consider, i´m using the correct key!)
>>>here is what i get... of course i sent an <iq type='set'><query
xmlns='jabber:iq:roster'><item jid='aim.jabber.box.sk/registered'
subscription='remove'/></query></iq> first....
|<iq type='result' id='skabber-ID6025register2'
| to='Edrin at jabber.box.sk/skabber'
| from='aim.jabber.box.sk'><query
| xmlns='jabber:iq:register'>
| <key>2601691b87264b5354ca271dda4e5f08bb2c6db0</key>
| <username>100424353</username><registered/><password/>
| <instructions>Enter your AIM screenname or ICQ UIN and the
| password for that account</instructions></query></iq>
what am i doing wrong?
2. My second and maybe interesting question...
Consider i have an aim gateway registered in my roster.
When i log in to the jabberserver i get the info that the gateway is
working fine and that it is online, too. WHatever sometimes it
happens that i do NOT get the PRESENCE of my icq contacts in
roster. I found out that if i change or updated my own status i
receive the presence of these icq contacts. Therefor i send all 30
seconds a presence to the jabber server, well, that´s not a cool
way because maybe other users might get annoyed of these
frquently "status updates". any idea how to react on this problem in
a better way?
excuse my bad english,
best regards,
Edrin
More information about the JDev
mailing list