Skip navigation
1375 Views 1 Reply Latest reply: Oct 21, 2011 3:17 AM by Tim Jentz RSS
Lemon Bronze 17 posts since
Jun 6, 2011
Currently Being Moderated

Jun 29, 2011 10:03 AM

get contact last activity patch

Here's a patch to query a contact's last acitivty and show the info in the contact pop up, if they're not available.  If the contact is away, it will show how long the user has been idle or, if they are offline, when they logged off.

 

The only issue is Spark/Smack doesn't respond properly, but it would work with clients that handle a last activity query correctly.  Spark/Smack does respond, it just resets the idle time on any packet delivery so the information from the contact is not accurate.  The Openfire server does respond properly when a user is offline.

More Like This

  • Retrieving data ...

Bookmarked By (0)