Chop the onion. Drain the chickpeas.
Pour hot water over the dried mushrooms and let it stand for 10 minutes.
Heat the oil and soften the onion for a few minutes. Add the garlic and stir for a minute.
Remove the mushroom from the soaking water, roughly chop then add to the onion. Pour in the soaking water and the tin of chopped tomatoes.
Season with salt & pepper, add some chilli flakes. Bring to the boil, then simmer for 25-30 minutes, until you get a thick sauce around the chickpeas.
Sprinkle some chopped parsley on top just before serving.