powered by Jive Software

Question about MUC ownership

What’s the best way to revoke ownership on the person that creates a chat room when they leave the room and promote the next person in the list to owner?

If the current owner closes the browser, he/she won’t get their own room leave event, so who in turn would be able to promote someone else to owner, etc.

Is there anything in the presence event that gets sent for user departure that informs others that it was the owner that left?

I thought this would somehow be built into XMPP but it doesn’t seem to be.