Its great now that you have realized this behavior and what triggers it. The more self aware you become the more you will be able to cognitively arrest your response behavior.
Being wronged by someone(or so i perceived) used to have an extreme effect on me only i would react inwardly hence the drinking problem. Once i was helped to analyze my reaction, question why it effected me so strongly and what does it really matter, i was able to slowly over time change how i feel and respond when wronged or hurt. I no longer let others rent space in my head or give them the power to to effect how i feel(for very long)
Its not easy and doesn't happen over night but now you have determined were you need to start.
disclaimer.........what i just said may be way off base