def utc_to_local(dt):
    secs = calendar.timegm(dt.timetuple())
    return datetime(*time.localtime(secs)[:6])
Attempts to join the `joinee` to the room `room_id` via the
dataset/ETHPy150Open shelfworthy/python-spreedly/api.py/utc_to_local--crossover with--dataset/ETHPy150Open matrix-org/synapse/synapse/handlers/federation.py/FederationHandler.do_invite_join