Sometimes you need to either choose to ignore things, perhaps it's not worth putting energy into a specific thing.
One of my favourite things to hear/say is "Don't put any energy into those people who 'take' energy from you. But put energy into those who give you energy in return." - I think it's important to remember this, because if you keep giving to people who don't put effort in, you'll never get anything in return.
It's important to choose your friends right, this person you've spoken of doesn't seem like a good friend to me.
Though, it also seems like a silly argument which should've stayed between friends. But that might just be my opinion.
Speak to your friend and tell them you don't like how they behaved, perhaps they will apologize.
Good luck.