In the following sentences:
Nous avons aimé ce repas.
Nous aimions ce repas.
In these two sentences, the English translation would be same:
We liked this meal.
At first I thought that the first sentence is focus on the point of "we" liked this meal (e.g. they happened to eat a delicious food they found on the street) while the second one focuses on the state of "liked" (e.g. they liked this meal while in the university but maybe no longer like it now).
But is my understanding correct? If not, how can I tell apart these two sentences, that use imperfect and past perfect that use the verb aimer?