-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reactions setting #6285
Reactions setting #6285
Conversation
@@ -15,32 +15,21 @@ Meteor.startup(function() { | |||
i18nLabel: 'API_Token' | |||
}); | |||
|
|||
this.add('SlackBridge_AliasFormat', '', { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-ordered the SlackBridge settings. Put the most probably used settings toward the top
type: 'boolean', | ||
enableQuery: { | ||
_id: 'SlackBridge_Enabled', | ||
value: true | ||
} | ||
}, | ||
i18nLabel: 'Reactions' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just re-used this i18nLabel
@@ -13,6 +13,12 @@ class SlackBridge { | |||
this.rocket.setSlack(this.slack); | |||
this.slack.setRocket(this.rocket); | |||
|
|||
//Settings that we cache versus looking up at runtime |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just added these here at the top for quick access to properties being used in SlackBridge
Introduced ES2015 Import/Export to resolve dependencies
159d19c
to
3eb58ae
Compare
@RocketChat/core
Closes #6044
Closes RocketChat/feature-requests#620 (possibly)
Sorry, this PR is built on top of #6282, so if that one is accepted, then please focus on commit 159d19c
Added a setting to enable/disable reactions between slack and rocket