I am so sorry, I have depression issues too, so I get it. People who don't suffer from depression sometimes think you are feeling sorry for yourself, or just need to buck up, or take a pill or something. It's just impossible for them to understand how much this affects your life in every way and sometimes every waking moment.
The last thing you need is for someone to tell you about somebody else problems with depression, you have enough to deal with, you don't need that. I am sure they mean well, but it's just not helpful. It's OK to stop them and say you aren't up to hearing about any one else's problems right now.