My friend and ex work colleague is getting married this year. We aren't super close but get together outside of work now and again, and worked together for several years until she went on maternity leave then I went on maternity leave just as she returned to work recently. Also, for context, I went to school with her fiancé and I was the one who introduced them, but I wouldn't say I'm 'friends' with him as such, more someone I would just say hi to when I saw him.
Anyway, when she got engaged last year she was talking about the hen do and the wedding as if I would be there and asking my opinion on outfits etc so I (perhaps wrongly) assumed I would be invited.
She has her hen party coming up and it became clear a little while ago I'm not invited - no big deal, I thought she is probably keeping it for close friends/family. Then, speaking to a mutual colleague a few weeks ago, I realise the invites for the wedding were sent out electronically and I haven't been sent one. I met with the friend getting married and a mutual colleague for coffee yesterday and asked about the wedding (how plans are going etc). They looked awkwardly at each other and changed the subject. Later, when the friend went to the toilet the colleague told me our friend feels bad but I'm not invited to the wedding as I'm on maternity leave so she doesn't see me as much anymore. The rest of our colleagues are invited.
AIBU to be hurt by this? She could have at least just told me this herself, I understand weddings are expensive but she has invited colleagues who I would say aren't as 'close' as we are, including the woman covering my maternity leave who only started a few months ago!