From 8454b280b14c0109b9b70bed3244351c6d6fb281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Kapp=C3=A9?= Date: Mon, 27 Aug 2018 12:44:21 +0100 Subject: [PATCH] Fix a typo in a configuration key for SlackBridge. The code looked for the key `SlackBridge_Botnames`, which is not referenced anywhere else. Instead, it now looks for the key `SlackBridge_ExcludeBotnames`. --- packages/rocketchat-slackbridge/server/SlackAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rocketchat-slackbridge/server/SlackAdapter.js b/packages/rocketchat-slackbridge/server/SlackAdapter.js index 8dff49ae49f8..60c650032814 100644 --- a/packages/rocketchat-slackbridge/server/SlackAdapter.js +++ b/packages/rocketchat-slackbridge/server/SlackAdapter.js @@ -779,7 +779,7 @@ export default class SlackAdapter { } processBotMessage(rocketChannel, slackMessage) { - const excludeBotNames = RocketChat.settings.get('SlackBridge_Botnames'); + const excludeBotNames = RocketChat.settings.get('SlackBridge_ExcludeBotnames'); if (slackMessage.username !== undefined && excludeBotNames && slackMessage.username.match(excludeBotNames)) { return; }