>From a server component, is there any reason why this won't work? That way you can stay an external component, and not have to futz with JSM.
<presence type='probe' to='user@host' from='mycomponent'/> Peter Saint-Andre <[EMAIL PROTECTED]> writes: > These are "stored" within internal data structures in the server, so > they're not in the user's XML file or anything like that. It sounds like > you will need to write an internal component (or modify an existing one, > i.e., mod_presence) to pull this data out of the server. But I'm not > enough of a C / server guru to tell you exactly what you need to do. > > Peter > > -- > Peter Saint-Andre > email/jabber: [EMAIL PROTECTED] > blog: http://stpeter.manilasites.com/ > > On Wed, 17 Oct 2001, Malli, Siva_Kumar wrote: > >> I think i didn't make the context clear. I am actually writing a >> server side module and i want to know whether the user is online or not at >> a particular moment. And i also like the know all the users who are online >> and their state, like (Away, DND etc). I just want to know where this is >> stored in the server side and how to access it. >> >> Thanks, >> Siva >> >> Date: Tue, 16 Oct 2001 19:48:56 +0100 >> From: DJ Adams <[EMAIL PROTECTED]> >> To: [EMAIL PROTECTED] >> Subject: Re: [JDEV] How to find whether a user is offline from user.xml fi >> le >> Reply-To: [EMAIL PROTECTED] >> >> On Tue, Oct 16, 2001 at 01:08:28PM -0500, Peter Saint-Andre wrote: >> > To see everyone who is online, I think you can send (as an admin user) the >> > following xml: >> > >> > <iq type="get" to="yourhostname"> >> > <query xmlns="jabber:iq:admin"> >> > <who/> >> > </query> >> > </iq> >> > >> You can also do it like this: >> >> <iq type='get' to='yourhostname/admin'> >> <query xmlns='jabber:iq:browse'/> >> </iq> >> >> (hmmm, I reckon this is becoming a FAQ ..) >> >> dj >> _______________________________________________ >> jdev mailing list >> [EMAIL PROTECTED] >> http://mailman.jabber.org/listinfo/jdev >> > > _______________________________________________ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev -- Joe Hildebrand _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
