From 438a9d92fe6be632b825238ce703a03dd20d285b Mon Sep 17 00:00:00 2001 From: David Taylor Date: Sat, 9 Sep 2017 21:07:07 +0100 Subject: [PATCH] Remove incorrect thumb_url from mattermost --- lib/discourse_chat/provider/slack/slack_provider.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/discourse_chat/provider/slack/slack_provider.rb b/lib/discourse_chat/provider/slack/slack_provider.rb index 844dfee..8212bf7 100644 --- a/lib/discourse_chat/provider/slack/slack_provider.rb +++ b/lib/discourse_chat/provider/slack/slack_provider.rb @@ -53,8 +53,7 @@ module DiscourseChat::Provider::SlackProvider text: excerpt(post), mrkdwn_in: ["text"], title: "#{topic.title} #{(category == '[uncategorized]') ? '' : category} #{topic.tags.present? ? topic.tags.map(&:name).join(', ') : ''}", - title_link: post.full_url, - thumb_url: post.full_url + title_link: post.full_url } message[:attachments].push(summary)