Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-529

Allow users to get their own presence via presence plugin

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.1
    • Fix Version/s: 3.8.0
    • Component/s: Plugins
    • Labels:
      None

      Description

      If Presence visibility is set to Subscribed, then it's not possible to query ones OWN presence. We're using the plugin from a server and this gives unavailable.

      http://host:9090/plugins/presence/status?jid=user@domain&req_jid=user@domain

      which seems overly secure It's because you are not in your own roster, so the call to presenceManager.canProbePresence() fails.

      I patched the PresencePlugin.java to support query of self if in Subscribed mode.

      Patch attached.

        Attachments

          Activity

            People

            • Assignee:
              akrherz Daryl Herzmann
              Reporter:
              akrherz Daryl Herzmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: