That is abominably rude...
Dont say anything to them...pretend as if everything is normal...show them they're not important and niether is their "Congrats".
I would make them feel like SPAM.
I agree with PS. Make them feel like scum by not acknowledging that they did this. And next time u know not to help.