[ejabberd] Access presence

Adi jabber.list at gmail.com
Sat Sep 20 02:48:25 MSD 2008


Hi,

Has anyone used access-presence?

I havent changed any ejabberd configuration and am using it out of the box
with default config.
I create two users A and B using the web admin console.

A creates a node using config accesss-presence <field
var='pubsub#access_model'><value>presence</value></field>

When i subscribe to the node with B, it gets subscribed sucessfully. I was
expecting something like this

<error type='auth'>
    <not-authorized xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
    <presence-subscription-required
xmlns='http://jabber.org/protocol/pubsub#errors'/>
  </error>


-- 
Thanks,
Adi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20080919/6ec0cb74/attachment.htm>


More information about the ejabberd mailing list