My boyfriend always starts talking to someone if we run into them, am I wrong to be annoyed by it?

It's starting to get a little on my nerves. Whenever we see someone we know, he starts talking to them. Of course that's okay, but it gets to the point where for example we're at the gym working out together and he see's someone he knows, and then he leaves me alone to go hang out with them instead, and doesn't come back for up to 30 minutes. He doesn't see anything wrong in it, and it makes me wonder if I'm in the wrong.
My boyfriend always starts talking to someone if we run into them, am I wrong to be annoyed by it?
Post Opinion