El Viernes 02 Enero 2009, [email protected] 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="[email protected]/Home" type="unavailable" to="[email protected]/Psi" /> I don't remember to be subscribed explicitly to myself. _______________________________________________ JDev mailing list FAQ: http://www.jabber.org/discussion-lists/jdev-faq Forum: http://www.jabberforum.org/forumdisplay.php?f=20 Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
