[ejabberd] Admin subscribing to node on behalf of users

Adriano Bonat adrianob at gmail.com
Wed Nov 25 03:29:06 MSK 2009


Hello,

I'm trying to use PubSub to send notifications to a large number of
users, but these users will be subscribed to nodes by the admin user
of our ejabberd server.

The problem at the moment is that the admin user is creating the node,
and when it tries to subscribe an user to the node, I'm receiving a
bad-request/invalid-jid error.

Doesn't ejabberd support admin users or node's owners to subscribe on
behalf of other users?

I'm running ejabberd 2.1.0 on an Amazon EC2 instance, you can check
the Python script that creates the node and subscribes another user to
this node here:
http://github.com/tanob/pubsub_test1

and here you can check the debug output when executing that script:
http://gist.github.com/239267

on line 53 you can see the subscription error.

Thanks.


More information about the ejabberd mailing list