One of two men hurt in an east London motel fire has been released from hospital, police say.