%ents; ]>
Last User Interaction in Presence This specification defines a way to communicate time of last user interaction with her system using XMPP presence notifications. &LEGALNOTICE; XXXX ProtoXEP Standards Track Standards XMPP Core XMPP IM XEP-0082 XEP-0256 idle &tobias; 0.0.1 2013-02-17 tobias

Initial version.

This protocol describes a way to communicate time of last user interaction with other XMPP entities over presence stanzas. User interaction refers to a human end user interacting with her device by means of keyboard, mouse, touch and so on. Based on this information XMPP clients can display the time a contact went idle or how for how long a contact has been idle. Thereby end users can get a hunch on the expected responsiveness of their contacts.

The described protocol uses absolute timestamps indicated as value of the 'since'-attribute in the ]]>-tag. The time, represented in the 'since'-attribute, is to be formatted according to &xep0082;.

Generally there are two main use cases for this extension explained in more detail in the following sections.

After a user has not interacted with her device for some amount of time the user wants to inform her contacts about this fact. For this the client sends a presence stanza with time of last interaction.

away ]]>

The amount of time after a client sends this enhanced presence is not set in stone but 5 minutes is suggested as a sensible default value.

The moment a user comes back and uses her device again the client can inform user's contacts by sending a normal presence stanza like shown in the following example. available ]]>

Including a last user interaction notation in presence notifications can enable those who receive such notifications to determine exactly when a user has stopped interacting with his or her XMPP client or even their system, but this information is in essence already available if the user publishes timely presence updates. Therefore, this specification introduces no new vulnerabilities.

It's worth to note that the security considerations of &xep0082; apply here.

This document requires no interaction with &IANA;.

This document requires no interaction with the ®ISTRAR;.