Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Ability to remove joined / left channel text

Open cedemore opened this issue 10 years ago • 9 comments

I would love if you added an option in the administration panel where you can choose to display when a user joined/left a room. Atleast the users on my server find this distracting / unnecessary.

I think this option would be great to have.

Thanks in advance /Cedemore

cedemore avatar Apr 19 '16 22:04 cedemore

+1

Molle500 avatar Apr 20 '16 15:04 Molle500

Ugly solution: Could it be possible to hide them via CSS.. I see they have a class..

class="message system uj" class="message system ul"

lunitic avatar Apr 27 '16 10:04 lunitic

+1 ;) Would be a nice option. Its annoying if you have a lot of people in the room.

tmace85 avatar Jul 05 '16 06:07 tmace85

Also shouldn't only be user joined/left. Should be optional to have all those kind of messages like user was promoted to owner/mod or channel name changed by Molle and so on... :)

Molle500 avatar Aug 18 '16 23:08 Molle500

+1

siomosp avatar Sep 03 '16 09:09 siomosp

Probably a solution based on hiding the messages is better than actually preventing them, since some bot interactions are triggered by these special events message types. e.g. Someone entering a room, bot might send a welcome message.

timkinnane avatar Oct 25 '16 06:10 timkinnane

@timkinnane You are right, but we can filter messages to not send to client these type of messages, bots will keep listening on message insertion.

rodrigok avatar Oct 25 '16 16:10 rodrigok

@rodrigok been struggling whole night to try to disable the messages. No luck. My other solution in #3418 does not work anymore. Seems like there been code changes. Any suggestion how to hardcode patch away the user has joined messages. Brain feels like spaghetti carbonara now

lunitic avatar Oct 25 '16 22:10 lunitic

@rodrigok Me and @lunitic have been struggling hard for many hours to figure out how it works - any pointers that can help us explain the flow? I have been searching in the source but not been able to see the message flow. We want to understand where the messages are inserted, rendered and reacted upon. Any help very much appreciated! (All tests so far has resulted in "Internal server error"...)

jkolhi avatar Oct 26 '16 16:10 jkolhi