*waves hand, fruit fly guy here. Those aren't drosophila ( "fruit flies"), but I think they are "real fruit flies," maybe something in the tiphridid family or similar. Can you see spots on the wings? That ovipositer is far longer than anything I've seen in any of the drosophila we work with, but you will find it in tiphridid (so they can lay embryos inside oranges)
It probably wasn't going after the chicken or whatever meat that was, maybe just curious. If vinegar, and especially yeast paste were successful, then it certainly likes booze. Drosophila love rotting fruit, and I tend to just toss banana peels in a jar, sprinkle some active yeast on top, then make a funnel out of paper (trap with a tiny hole) to cover the jar. That thing will collect any and all free-roaming drosphila in your house.
For these guys...that ovipositor suggests to me that they like citrus, or maybe even olives. Yeast will probably always help. I would actually try some mango, some banana, maybe even some orange...put them in separate jars, toss some yeast (or yeast paste as you are doing. they love to lay eggs in yeast paste), and see which they prefer.
Oh, the bags of water hanging in windows to keep out mosquitoes and other flying bugs....old wive's tale. That shit doesn't work and there really is no sound logic behind it.