[jdev] automatic presence authorization from predetermined domain
dan at greywallsoftware.com
Mon Oct 31 14:35:44 UTC 2011
I've been working with XMPP so far only in the context of MUC, and I'm just
now making my first foray into "ordinary" messaging and presence. I'm
running into a scenario where in my particular application, represented by
a certain XMPP domain, I want to allow all my users to see each others'
presence without authorization. I see that the "subscribe" mechanism exists
- what I'd like to do is have that request approved automatically. I
realize I could just engineer the client my users will be running on the
receiving end (this is a web application, so I do control the client) to
always respond in the affirmative, but I feel like it would be easier if I
could set something on the server side, or even send some kind of packet
when those users first log in, to indicate that presence subscriptions from
that particular domain should always be accepted.
On first read, XMPP doesn't appear to have any capability like this. Am I
missing something, or is my best bet to just engineer the response like I
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the JDev