State is not kept in the user.xml file, it's maintained in the Jabber session manager. Do you want to be able to see the state of any random user? And are you interested in getting this information for users on a server that you run (i.e., you are the server admin) or for any old server?
Peter -- Peter Saint-Andre email/jabber: [EMAIL PROTECTED] web: http://www.saint-andre.com/ On 8 Oct 2001, John Draughn wrote: > I would think the server maintains some sort of 'state' of online users, > and if the user isn't in the list, then when it receives an > "jabber:iq:time" for that jid, it date/time checks the .xml file. > > That's strictly guessing, Temas, Dizzy and Jer would be better folks > where one could direct that question. > > -John 'zariok' Draughn > > > On Mon, 2001-10-08 at 01:50, Sivakumar wrote: > > I want to know whether the user is offline/online from the user.xml file > > that is in the <jabber-root>/spool/<host>/ directory. Which tag i must look > > into to find that. I looked into the user.xml file and found one tag that > > might be useful. > > > > <foo xmlns="jabber:x:offline" xdbns="jabber:x:offline" /> > > > > But the tag don't seem to change whether i am online or not. Is > > there any doc that explains all the tags in the user.xml file. > > > > Thanks, > > Siva. > > > > > > > > _________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > _______________________________________________ > > jdev mailing list > > [EMAIL PROTECTED] > > http://mailman.jabber.org/listinfo/jdev > > > _______________________________________________ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev > _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
