We're updating the issue view to help you get more done. 

Allow users to get their own presence via presence plugin

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.

Environment

None

Acceptance Test - Entry

None

Activity

Show:
Daryl Herzmann
February 15, 2012, 1:48 PM

r12994 thanks for the patch

Assignee

Daryl Herzmann

Reporter

Daryl Herzmann

Labels

None

Expected Effort

None

Components

Fix versions

Affects versions

Priority

Minor
Configure