def recordOccupant(presence):
    occupantJID = presence.sender
    roomJID = occupantJID.userhostJID()
    self._roomOccupantMap[roomJID] = occupantJID
    return presence
def recordOccupant(presence):
    occupantJID = presence.sender
    roomJID = occupantJID.userhostJID()
    self._roomOccupantMap[roomJID] = occupantJID
    return presence