Rocket.Chat's Community Open Call 🎤 Dec 15, 2021 Join us!

Disable block user on Direct messages

Description

I want to disable the option or the button to block users in direct messages

  • Version of Rocket.Chat Server: 3.18.1
  • Operating System: Ubuntu 18.04
  • Deployment Method: snap
  • Number of Running Instances: 1
  • NodeJS Version: v12.22.1
  • MongoDB Version: 3.6.14
  • Proxy: nginx
  • Firewalls involved:

Hi! Welcome to our forums!

Unfortunately I was not able to find a way to disable the block at system level.

However, there is a “hacky” way to just hide the button for users, so they’ll not be able to block each other easily.

You need to add a custom css.

Go to Admin > Layout > Custom Css, and add the following:

button[title="Block"]{
display:none;
}

Let me know if that helps.

Thanks!

1 Like