MUC won't delegate privileges

Hi,
I installed ejabberd on my PC, for development purpose.

I develop two COMPONENTS that connect to MUCs like so:
1. Comp1 joins and empty room, thus creating a new room.
2. Comp2 joins the new room just created.
3. Comp1 delegates "Admin" affiliation to Comp2, and disconnects.

My problem is that I receive an IQ error result 405 for trying to delegate Admin rights to Comp2.

The ejabberd config file looks like this:

{acl, components, {server, "comp1.localhost"}},
{acl, components, {server, "comp2.localhost"}}

{access, muc_admin, [{allow, admin},{allow, components}]}.

{mod_muc, [
%%{host, "conference.@HOST@"},
{access, all},
{access_create, all},
{access_persistent, muc_create},
{access_admin, muc_admin}
]},

Can anyone suggest where the problem might be?

Thanks,
Shuval

Shuval wrote: Can anyone

Shuval wrote:

Can anyone suggest where the problem might be?

Maybe mod_muc is not prepared to handle components (which JID lacks username, like "comp1.localhost") as proper room occupants. Maybe mod_muc only can handle room occupants with username, like bot1@comp1.localhost.

Syndicate content