Simply socialise with those you're happy to listen too.
In this life, there are boilers and there are radiators
I tend to drift towards radiators
If I am with someone who slags off the company we work for or the country we live in, I simply tell them to hand their notice in and in 90 days, do one. It's as simple as that.
I don't get paid enough to spend time listening to anyone who wants to drag me down. Being away from my home country is one thing, listening to crap I can do without.