mirror of
https://github.com/discourse/discourse-chat-integration.git
synced 2025-02-16 16:34:50 +00:00
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…
x
Reference in New Issue
Block a user