Fix slash commands in private groups

This commit is contained in:
David Taylor 2018-04-08 02:26:36 +01:00
parent 3b033bcd16
commit 180011c097
1 changed files with 0 additions and 2 deletions

View File

@ -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