I would say it matters if your diet isn't varied. 200 grams of protein from peanuts isnt gonna be as good as 200 grams from meat, just based on the bioavailability and amino acid composition. Or at least, that's what I believe...
If you get protein from many sources, you're probably fine.