Spark
  1. Spark
  2. SPARK-1405

Improved last activity recognition

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.3
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None

      Description

      http://community.igniterealtime.org/thread/45068

      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.

      relates to Smack-345

        Issue Links

          Activity

          Hide
          Lemon Yogster added a comment -

          Yeah, it doesn't work without the Smack patch. That's why in the description it says that Spark (really Smack) doesn't respond properly and that it relates to it Smack patch-345. If the other user had a client that did respond properly, you should see the idle info. If the person was away, I'm surprised it didn't show any idle the first time you hovered or 0 min idle.

          Show
          Lemon Yogster added a comment - Yeah, it doesn't work without the Smack patch. That's why in the description it says that Spark (really Smack) doesn't respond properly and that it relates to it Smack patch-345. If the other user had a client that did respond properly, you should see the idle info. If the person was away, I'm surprised it didn't show any idle the first time you hovered or 0 min idle.
          Hide
          Tim Jentz added a comment -

          @wroot, i'll try to reproduce this behavior.

          In my tests, the idle info is even shown without the smack patch. But the time you receive from a client running smack without the patch is tendentially wrong because even the answer for the request of the idle time is handled as an activity of the user.

          Show
          Tim Jentz added a comment - @wroot, i'll try to reproduce this behavior. In my tests, the idle info is even shown without the smack patch. But the time you receive from a client running smack without the patch is tendentially wrong because even the answer for the request of the idle time is handled as an activity of the user.
          Hide
          wroot added a comment -

          Oh, i get it now. It only works between Smack clients. I thought Spark wasn't getting correct info from the server. I have tried with two Spark clients and i see Idle < 1 min in the popup now.

          Show
          wroot added a comment - Oh, i get it now. It only works between Smack clients. I thought Spark wasn't getting correct info from the server. I have tried with two Spark clients and i see Idle < 1 min in the popup now.
          Hide
          debasishpaul added a comment -

          hi

          Show
          debasishpaul added a comment - hi
          Hide
          Walter Ebeling added a comment -

          Mass closing of resolved issues

          Show
          Walter Ebeling added a comment - Mass closing of resolved issues

            People

            • Assignee:
              Tim Jentz
              Reporter:
              Walter Ebeling
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: