I tend to enjoy the idea that I'm 'comforting' someone who feels a need to brag.
I don't mind being a sounding board for people who want to announce something that makes them happy--especially when I feel lousy about something of my own. It gives me a nice diversion and inspiration. It reminds me that we all have to dig through pits sometimes, but they aren't permanent--they just feel that way.
Annoyance with a friend is my signal that I'm spending too much time on that person, and I need to expand my focus. Nobody else can force us to do that--it's on us to make smart choices that diffuse our concentration of any given person in our lives. So consider ways that you can widen your scope of interests, and invest in doing that. Find ways to meet new friends. This doesn't mean you'l need to drop this one, it just means that you can reduce time spent with her in favor of exploring elsewhere.
Seclusion breeds contempt for anything that disrupts a world made too small. Pay attention to that, and make the issue less about the friend and more of a signal to yourself that you can diffuse your focus.
It's a decision.