In my oppinion, both forms are correct, but if there is only correct meaning, which is which?
How is called this phenomenon of having a verb, that is the inverse of itself? That is,
Rento un departamento a mi tío.
and
Mi tío me renta un departamento.
have the same meaning after inverting subject and indirect object.