As for your friend - thank goodness her ex isn't marrying the affair partner - makes things much easier.

She shouldn't tell them now before the wedding. At some later date she might, but she better ask herself what she hopes to accomplish?