[ejabberd] getting last activity of a user from ejabberd server

Mickaël Rémond mickael.remond at process-one.net
Sat Jan 9 14:27:42 MSK 2010


ejabberd implements only offline last activity.

Thank you and best regards,

Mickaël Rémond

Le 9 janv. 2010 à 09:46, Tharindu Madushanka a écrit :

> Hi,
> I was trying to get Last Activity information for a jabber contact from roster ( xep-0012 ). ( I want to know whether that user is online or how long ago he was online) But even when that user is online.. I am getting a value as seconds.. which was when that contact was last seen online.. how could I check whether the current contact is online with Last Activity..
> Because when I send request according to xep-0012 Last Activity request.. I get a value as seconds even when user is currently online.. from my ejabberd server.. I use bare jid.. if I use full jid it sends a response telling not-available for my offline contacts..
> Is there anything I am doing wrong.. or is there any other way to do my work.. (To get whether user is online or how long last he has seen online)
> Thank you and Kind Regards,
> Tharindu Madushanka
> tharindufit.wordpress.com
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20100109/7d45626b/attachment.html>

More information about the ejabberd mailing list