A Multi User Chat Room.
An in memory object representing a MUC room from the perspective of a client.
|Instance Variable||roomJID||The Room JID of the MUC room. (type:
|Instance Variable||nick||The nick name for the client in this room. (type:
|Instance Variable||occupantJID||The JID of the occupant in the room. Generated from roomJID and nick. (type:
|Instance Variable||locked||Flag signalling a locked room. A locked room first needs to be configured
before it can be used. See
|Method||__init__||Initialize the room.|
|Method||addUser||Add a user to the room roster.|
|Method||inRoster||Check if a user is in the MUC room.|
|Method||getUser||Get a user from the room's roster.|
|Method||removeUser||Remove a user from the MUC room's roster.|
Initialize the room.
Add a user to the room roster.
|Parameters||user||The user object that is being added to the room. (type: |
Check if a user is in the MUC room.
|Parameters||user||The user object to check. (type: |
Get a user from the room's roster.
|Parameters||nick||The nick for the user in the MUC room. (type: |