<human>: Give me the gist of the text in a nutshell

I've been at this job for two years now and I sit next to the man who is getting married. We don't small chat too much, but we're cordial. We talk for about a half hour every morning. He's getting married to another coworker of mine in a different department next month.

Some of my coworkers and I were at lunch today and they were discussing how they were all getting to his wedding… and I found out I wasn't invited. Not "invitation lost, whoops," but earnestly not invited. He invited my entire department, her entire department, but not me.

I know this isn't about me at all, but I think this is pretty rude to do. If you're inviting everyone you work with, you should invite them all—especially someone you work right next to. (And it isn't a money thing because they both come from wealth)

Is there a right way to say, "Thanks for the invite" without coming across as a complete dick?
<bot>: Two coworkers getting married. They invited both departments, but not me. How do I tell them that's pretty hurtful? Is it something I should even think to do?