MUC room owner issue

hi, I installed ejabberd, and developing some jabber client.

I confront some problem.

In a MUC room. IF some user create a room, he become owner. (king of the room yeh).
But, what if he go out of the room, and no owner exist in the room.
Despite some user exist in the room alone, he can not controll the room, and
he didn't get owner authority.

So, I want to know, if room owner leave the room,
can room owner authority assign into some user in the room automatically?
Is there any way to do that?

Help me~

Owner and Admin affiliations

Owner and Admin affiliations can be assigned by a room owner, by a mod_muc administrator, and by using a mod_muc_admin command called set_room_affiliation.

Notice: affiliations can be assigned to JIDs (like wanabee3@server.com) even when that JID isn't yet in the room.

Syndicate content