Prevent mention form auto adding users to channels
Actually, when you mention someone from a room he/she isn't, it moves the mentionned user to the room.


It seems to be a feature, not a bug:

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.
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
Hi there, thanks for the contribution! 🚀 💯
Sorry, this error does not happen on the latest and maintained releases.
Rocket.Chat provides support for, at least, 3 months for each release and 6 months to the latest releases of each major version
I would suggest you update your Rocket.Chat version to the latest stable version, which you can find in Releases Page and, check it HERE the table with versions and End of Life dates.
Questions? Help needed? Feature Requests?
- Join our Open Server in the #support channel and feel free to raise a question
- Join our Community Forum and search/create a post there