Uploaded image for project: 'Smack'
  1. Smack
  2. SMACK-636

Add support for XEP-0319: Last User Interaction in Presence

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0.6, 4.1.0
    • Fix Version/s: 4.4.0
    • Component/s: Experimental
    • Labels:

      Description

      http://xmpp.org/extensions/xep-0319.html

      API Sketch:

      LastUserInteractionManager {
        setLastUserInteraction(Date date) {
           this.lastInteraction = date;
        }
        setLastUserInteraction() {
          setLastUserInteraction(new Date());
        }
        resetLastUserInteraction() {
          setLastUserInteraction(null);
        }
      }
      

      Use thread that get's interrupted to determine when to send presence with 'idle' element.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              flow Florian Schmaus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: