Guy troubles

Me and a guy had a thing for a while, and then he told me he didn't like me that way anymore. I got angry and didn't talk to him for a while but then he texted me asking if we could be friends again. I had moved on to liking another guy. The previous guy then became best friends with the new guy, when he knew I liked him. I stopped liking the new guy because I felt like I just didn't like him any more. Now I'm friends with both of them but the old guy had us over with a new girl that he likes but I'm not sure how I feel about it. Thoughts?