Can Jabber tell the client how long a user has been logged in for

openfirexmpp

When we used AIM at work, my client reported the time a user had logged on, how long he'd been logged on, and how long he'd been idle. After switching to an Openfire server, my client (Adium) no longer seems to have this information. Is this a limitation of Jabber, Openfire, or my client? Do I just need to find the right configuration setting?

Best Answer

If you use the debug window to take a peek at what Pidgin is requesting, it doesn't seem to include the logged in time. I would assume due to the open nature of the XMPP protocol such a request is possible.

Example:

(10:38:07) jabber: Sending (ssl): <iq type='get' id='purple36ba35f' to='XXX'><vCard xmlns='vcard-temp'/></iq> 
(10:38:07) jabber: Sending (ssl): <iq type='get' id='purple36ba360' to='XXX'><query xmlns='jabber:iq:version'/></iq> 
(10:38:07) jabber: Sending (ssl): <iq type='get' id='purple36ba361' to='XXX'><query xmlns='jabber:iq:last'/></iq> 
(10:38:08) jabber: Recv (ssl)(847): <iq type="result" id="purple36ba35f" from="XXX" to="XXX"><vCard xmlns="vcard-temp"> ... </vCard></iq> 
(10:38:08) jabber: Recv (ssl)(236): <iq type="result" to="XXX" id="purple36ba360" from="XXX"><query xmlns="jabber:iq:version"><name>Pidgin</name><version>2.5.6 (libpurple2.5.6)</version></query></iq> 
(10:38:08) jabber: Recv (ssl)(177): <iq type="result" id="purple36ba361" to="XXX" from="XXX"><query xmlns="jabber:iq:last" seconds="0"/></iq>
Related Topic