that is a hostile work environment
I understand your frustration. I go to GitHub für code, not for some weirdo’s Telegram channel. But, come on, do your employees have access to the internet? Does someone maintain a Facebook page on the clock? Is Google allowed? Reasonable people can distinguish between workplace and internet hate.
Where I live at least, there is a difference because they are performing a task that they are being directed to perform as part of their job, as opposed to just randomly stumbling across hate while browsing the internet - if I’ve directed one of my staff to “submit a PR to this repo and work with the maintainers to get it merged” and some asshole drops into the comments they are being forced to engage in that situation, and that is not ok.
One case that I’ve heard of is a pizza delivery place that had to pay some serious compensation to a couple of their delivery people because they refused to stop accepting orders from someone who would be super abusive if their delivery person wasn’t a white guy. Management knew what was happening, the drivers had complained and asked for a resolution, management had refused to do anything about it, so the business had to pay compensation.
Where I live at least, there is a difference because they are performing a task that they are being directed to perform as part of their job
I agree. This makes it a workplace problem. Sucks.