Rocket.chat: Prevent mention form auto adding users to channels

Created on 11 Feb 2016  路  4Comments  路  Source: RocketChat/Rocket.Chat

Actually, when you mention someone from a room he/she isn't, it moves the mentionned user to the room.

magic

diego-mentionned-move

It seems to be a feature, not a bug:

mentionned-move-code

I think it would be great to have a setting entry that permits to disable that.
It would be perfect that we could whitelist some users so that nobody can move us by that way except whitelisted ones.

Planned easy commands notification improvement

Most helpful comment

We should standardize the behavior of how we deal with the mentioned users. Rather than auto-inviting them on public groups and ignoring the mention on private ones, we should alert the sender with an "ephemeral" message that the user mentioned is not in the room, and the message should also have a button to invite that user.

All 4 comments

Hi, I want to work on it.
Do we need to set permission for the role or a specific user?

We should standardize the behavior of how we deal with the mentioned users. Rather than auto-inviting them on public groups and ignoring the mention on private ones, we should alert the sender with an "ephemeral" message that the user mentioned is not in the room, and the message should also have a button to invite that user.

@engelgabriel https://github.com/RocketChat/Rocket.Chat/pull/13962 This pr solves this issue, kindly review it please.

This bug still exists in 3.0.2

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Buzzele picture Buzzele  路  3Comments

lunitic picture lunitic  路  3Comments

amayer5125 picture amayer5125  路  3Comments

djeber picture djeber  路  3Comments

brendanheywood picture brendanheywood  路  3Comments