There is currently no way to ignore or hide room invitations in Riot. I was invited to a room that has a bot that constantly re-invites me to the room as soon as I decline the invitation. This causes my Riot client to always have an annoying persistent notification badge for the invitation.
!HkIVpVBRHoIryLnGUn:chat.thisisjoes.siteI get re-invited by the bot and there is no way to hide the invite.
Logs being sent: no
Platform: Electron client on Ubuntu.
OS: Ubuntu 19.04
I'm also experiencing this issue on macOS Mojave.

I believe there are multiple ways to ignore invites already. You can mark the room as low priority, or block the account sending the invite.
@jellykells I don't want to mark the room as low priority, I want nothing to do with this room. I will try ignoring the bot thanks.
shutup tristan
I found a workaround for your issue. All you need to do is JOIN THE GLOWERS CLUB
Duplicate of https://github.com/vector-im/riot-web/issues/2341
Have the exact same Room that tries to invite me ... the Glowers club :-/ I think, only IP block helps
Most helpful comment
I found a workaround for your issue. All you need to do is JOIN THE GLOWERS CLUB