RocketChat / feature-requests

This repository is used to track Rocket.Chat feature requests and discussions. Click here to open a new feature request.
21 stars 9 forks source link

Slack integration: Reactions made by the bot user #620

Open NerdyProjects opened 7 years ago

NerdyProjects commented 7 years ago

The current slack integration does not handle user names, when it comes to reactions. If a user in RocketChat reacts to a message, in slack it is displayed as the bot user.

This might be unwanted in a lot of scenarios. (One is, I am using reactions with a group of people to implement a poll-style feature manually, if people forget that they are on rocket chat, this fucks up the results).

So a) Fix the underlying issue, that slack may not support this at all (See https://github.com/RocketChat/Rocket.Chat/pull/5448) or b) Allow disabling the reaction synchronisation and make the user somehow aware of this

a) is highly preferrable, is there any update @kable-wilmoth on this?

soundstorm commented 7 years ago

a) The bot is a "user" itself. As the permissions for the bridge are only given to this specific bot/user (and not all users with their usernames), the reaction can be only by the bot. It's on slack, but why would they..?

kable-wilmoth commented 7 years ago

FYI I reached out to the Slack team about this a while ago. Was requesting information on how to improve this using their API. Here is there response. -kable

Hi Kable,

Thanks for getting in touch. In order to add a reaction on behalf of a user, you'll need to create an app that asks for the appropriate scope (reactions:write). You can read more about scopes here: https://api.slack.com/docs/oauth-scopes

Once the user authenticates with your app, you'll get an access token that you can use to add reactions to messages on their behalf.

Does that make sense?

Kindly,

Claudio

Hudell commented 6 years ago

PR RocketChat/Rocket.Chat#10217 adds a setting to enable/disable slackbridge reactions.

kable-wilmoth commented 1 year ago

Sorry, my company moved away from RocketChat and Slack and we are using MS Teams. So I haven't been active in this community. Sorry.