i’'m using smack in my bot ( http://galena.sphene.net ) and registered with the icq transport of my jabber server… and it works at the beginning…
but after a few hours the bot goes offline in icq…
(when i tell the bot it should send a presence message to the transport the bot goes back online)
my problem is … that i don’'t know how to detect when the bot goes offline in icq so i can automatically resend a presence message.
(the transport itself is always marked as unavailable in the roster … so i couldn’'t listen for a roster event)
so how could i detect when the bot is online in icq ?
thanks in advance