def cb(presence):
    '\n            We have presence that says we joined a room.\n            '
    if (STATUS_CODE.ROOM_CREATED in presence.mucStatuses):
        room.locked = True
    return room
We have presence that says we joined a room.
def cb(presence):
    '\n            \n            '
    if (STATUS_CODE.ROOM_CREATED in presence.mucStatuses):
        room.locked = True
    return room