Am I in the wrong?

Anonymous
My boyfriend of 9 months broke up with me, I was pretty upset and decided to not chase him and try to move on. I ended up unblocking and following my ex a day after we broke up. My boyfriend actually saw that I followed him and called me disappointed, I basically told him that he left me and I was free to do whatever I wanted. Anyways my ex and I talked and flirted a bit but nothing more than that. He doesn’t even live in the same city as me anymore. He asked me if I wanted to come to a Halloween party in the next week and I told him I would think about it. I ended up blocking my ex because it felt wrong just speaking to him. The next day after I blocked him, my boyfriend called me saying how he wanted to talk. He took me out for dinner and we talked and said we would try to work things out. I went back to his place, we cuddled and went to bed. The next morning we wake up and he says he has to leave for work. He asked me when were broken up what did I talk about with my ex. I told him what I said but told him I felt bad and blocked him. My boyfriend was really upset and I could understand, but he ended up breaking up with me again, basically saying that I was unloyal and he can’t forgive me. Although in my opinion he broke up with me and I though we were over. Am I wrong?
Am I in the wrong?
5 Opinion