Fix slash commands in private groups
This commit is contained in:
parent
3b033bcd16
commit
180011c097
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue