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]
|
case params[:channel_name]
|
||||||
when 'directmessage'
|
when 'directmessage'
|
||||||
"@#{params[:user_name]}"
|
"@#{params[:user_name]}"
|
||||||
when 'privategroup'
|
|
||||||
params[:channel_id]
|
|
||||||
else
|
else
|
||||||
"##{params[:channel_name]}"
|
"##{params[:channel_name]}"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue