<human>: I (20) have known a guy for many years, call him X. Over time I have relied on X (19) a lot. X was the first person I wanted to talk to about anything, we agreed on many things, generally good friends. I came out gay to X a year before anyone else. I share with X a lot.

Today, I shared with X a story about my reaction to what a common friend of ours, R (20?), said. I'm bipolar, and have a few issues with anxiety and paranoia sometimes, so the story was about how I did something rashly. A few hours later, yet another friend of mine Z (19) tells me he's gotten a forwarded text message from R talking about the story I shared. So X told R about my story about R, and R told at least one unrelated person (Z). The story isn't super embarassing, but it was a bit. 

I am angry at X, and told him so, though he hasn't written back yet. I struggled a lot with trust issues before this, so this is yet another cut. I am going to distance myself from X for a while. We had some loose plans to hang that I'm just going to drop. 

If he is remorseful, what's the compromise between giving forgiveness and being a doormat? How long do I let this hang over his head? He has never really shared much with me, and I've often felt that this friendship was a little one-sided. Does this just confirm my suspicions? I don't want to use this as a tool to make him feel guilty, but he needs to know that he hurt me.

Can you condense the text into three sentences or less?
<bot>: Closest friend gossiped, sliding back into depression, want to work past it but how long am I justified in holding this against him?