From e3da1f83f271367cec14ea0ea3161eb754efb97a Mon Sep 17 00:00:00 2001 From: izotos Date: Thu, 8 Mar 2018 11:12:31 +0100 Subject: [PATCH] Hotfix for issue #590 --- lib/SlackBot.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/SlackBot.js b/lib/SlackBot.js index 592563cee..787c2299f 100755 --- a/lib/SlackBot.js +++ b/lib/SlackBot.js @@ -226,13 +226,12 @@ function Slackbot(configuration) { return; } - } - - bot.identity = { - id: team.bot.user_id, - name: team.bot.name - }; + bot.identity = { + id: team.bot.user_id, + name: team.bot.name + }; + } }