Server don''t send presence unavailable!

Hi Guys,

I’'m working on a flash based IM using Jabber. Everything is working fine, less the presence handler after some user disconnect from jabber.

This IM is running on pop-up window (browser). If the user close this pop-up, the user of conversation need to receive

myJid@myserver

.

But this is not happening. Anyone knows how to solve it?

The problem wasn`t exactly this one.

Hi nalmeida,

I also encountered a similar problem.

Before closing, I will send a Presence packet.

var tempPresence:Presence = new Presence( null, null, Presence.UNAVAILABLE_TYPE, null, null, null);

myConnection.send( tempPresence ); /i

Hope this can help.