From 180011c097457631f0a6735a947e26765c380239 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Sun, 8 Apr 2018 02:26:36 +0100 Subject: [PATCH] Fix slash commands in private groups --- lib/discourse_chat/provider/slack/slack_command_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/discourse_chat/provider/slack/slack_command_controller.rb b/lib/discourse_chat/provider/slack/slack_command_controller.rb index f36defd..3d8d86a 100644 --- a/lib/discourse_chat/provider/slack/slack_command_controller.rb +++ b/lib/discourse_chat/provider/slack/slack_command_controller.rb @@ -26,8 +26,6 @@ module DiscourseChat::Provider::SlackProvider case params[:channel_name] when 'directmessage' "@#{params[:user_name]}" - when 'privategroup' - params[:channel_id] else "##{params[:channel_name]}" end