[jdev] Show values of the Presence Message -> logout

naw lambda512 at gmail.com
Fri Jan 2 16:32:03 CST 2009

El Viernes 02 Enero 2009, jlist9 at gmail.com escribió:
> Hello Maciek,
> Thanks for your reply. I've added that but it doesn't seem to
> solve my problem. What I'm trying to do is to log in with the
> same user twice but bind to different resources. And I'd like
> any of the two instances notified when the other instance logs out.
> Do I need to explicitly subscribe to the other instances's presence
> stanzas?
> Jack
> >> Speaking of presence messages, is there a way to tell from these
> >> messages (or by any other means) that a buddy has gone off-line?
> >
> > http://xmpp.org/internet-drafts/draft-saintandre-rfc3921bis-07.html#rfc.s
> >ection.4.7.1
> >
> > Basically, you send <presence type='unavailable'/>

When I'm on "Home" and "Psi" and I disconnect from "Home" I get:
<presence from="xxxx at jabberes.org/Home" type="unavailable" 
to="xxxx at jabberes.org/Psi" /> 

I don't remember to be subscribed explicitly to myself.

More information about the JDev mailing list