Changing the moderator without disconnection

Hi all,
First thank you all for contributing to this great project! I know that a new moderator is picked when the old one disconnect more than 10 sec given the order of entries in the room. I am wondering if a moderator can pick a new moderator to succeed him or her without disconnecting? How difficult would it be to implement this feature if it does not already exist in some way?
Best,
Romain