def _addRoom(self, room):
    '\n        Add a room to the room collection.\n\n        Rooms are stored by the JID of the room itself. I.e. it uses the Room\n        ID and service parts of the Room JID.\n\n        @note: An entity can only join a particular room once.\n        '
    roomJID = room.occupantJID.userhostJID()
    self._rooms[roomJID] = room
Add a room to the room collection.

Rooms are stored by the JID of the room itself. I.e. it uses the Room
ID and service parts of the Room JID.

@note: An entity can only join a particular room once.
def _addRoom(self, room):
    '\n        Add a room to the room collection.\n\n        Rooms are stored by the JID of the room itself. I.e. it uses the Room\n        ID and service parts of the Room JID.\n\n        @note: An entity can only join a particular room once.\n        '
    roomJID = room.occupantJID.userhostJID()
    self._rooms[roomJID] = room