if your friend and their ex are on really bad terms, the most mature reaction your friend should have when they find out you're dating their ex is "well they broke my heart and might do the same to you, so you have been warned. but if they do, i'll be there for you."