This module attempts to keep track of what MUC chat rooms users have joined. It’s not very useful on its own, but can be used by other modules to influence decisions.


Rooms joined and the associated nickname is kept in a table field rooms_joined on the users session.

An example:

Known issues

XEP 45 § 7.2.3 Presence Broadcast has the following text:

In particular, if roomnicks are locked down then the service MUST do one of the following.


If the user has connected using a MUC client (…), then the service MUST allow the client to enter the room, modify the nick in accordance with the lockdown policy, and include a status code of “210” in the presence broadcast that it sends to the new occupant.

This case is not yet handled.