Appearing offline

Unsure if it’s been mentioned and not really a direct game issue but if on Xbox you are appearing offline… let’s just say because certain individuals keep spamming invites that you don’t really wanna deal with at the time, Gears 5 gives it away as it still shows you as playing online.

Is there a way round this?