It would be a nice thing to do to give someone you used to date a heads up if you are going to bring a date to a social function you know they will be at.
The person you used to date is also bringing their own date.