Feature Announcement: Mitigate Profanity With Block Lists

Many companies that allow end-users to openly chat with one another open up a significant risk to unsavory and often harmful content within an application.

The fine balance between open, unfiltered conversation, and an overbearing moderation system is one that Stream is acutely aware of. We’re constantly releasing more and more robust tools to ease this burden for our customers in industries such as Education and Social Media.

One such feature is Block Lists. Block lists allow you to select from a predefined list of more than 1,000 profane words, in addition to creating your own lists of words you’d like to prevent from showing up in your channels. You can define behavior for an individual block list by specifying one of two options: flag or block.

This most recent moderation tool from Stream may be a simple one, but it is incredibly powerful for three main reasons:

  1. It is extremely easy to set up and requires no hosted solution or additional code client-side or server-side.
  2. The moderation (flag or block) runs automatically and does not require initial human interaction with the content.
  3. Choosing different block list behavior allows you to block the more severe offenses, but flag borderline content.

Enabling the Default List

This requires server-side authentication and can be enabled in just a handful of lines of code:

Adding a Custom List to a Channel Type

Adding a custom list is also very straightforward:

Once you have defined your custom block list, you can enable the block list for a specified channel, as shown below:

We’re excited that our customers of all sizes can benefit from this simple but powerful new feature to ensure a rich and safe experience for the end-user. Keep an eye out for more upcoming new features in Q4!

ProductAnnouncements