AITA- So my boyfriend and I have constant issues with who each other is talking to. In this particular case it’s someone I have known for almost three years now. We were friends for a year and a half and at about that time my friend and I started hooking up. We never considered it dating and it lasted for maybe about a month. Afterwards we agreed we were still friends and would still hang out. Flash forward a year my boyfriend and I have been dating for about six months and he has asked me not to talk to this guy anymore. I agreed because I know it upsets him. 
So today, my friend messaged me a picture of myself he had on his phone from a year ago today. I kindly respond “hey, I’m sorry but I can’t chat because it causes problems in my relationship since we used to hook up. Please don’t think I’m ignoring you.” Immediately after I tell my boyfriend and he gets beyond mad because I had said previously that if my friend messaged me I wouldn’t respond. My boyfriend says i shouldn’t have said anything because last time my friend and i talked I briefly said i had to go because us talking had upset my boyfriend. I get called a liar, told I always go back on my word, etc.. I have expressed to him how upset it makes me that I can’t talk to people that are my friends (he’s made me stop talking to other guys that I’ve never slept with) but he doesn’t see this guy as my friend. 
So basically, AITA for telling my friend instead of ignoring him like I had said I would? 