Me= Starts talking to two HB6

She= Don't talk to me/stop talk to me/why are you talking to me?

Me= Don't flatter yourself, I'm talking with your friend/ I wasn't talking to you

She didn't say anything after that

She made me angry the first time she said it but I ignored her and tried not to look butthurt.

It made me a little angry but I'm trying to improve my frame so it didn't bother me the second time she said it.

Anyway, what would you guys have said? Did I handle the situation correctly?