Remove incorrect thumb_url from mattermost

This commit is contained in:
David Taylor 2017-09-09 21:07:07 +01:00
parent 92e22d65da
commit 438a9d92fe
1 changed files with 1 additions and 2 deletions

View File

@ -53,8 +53,7 @@ module DiscourseChat::Provider::SlackProvider
text: excerpt(post), text: excerpt(post),
mrkdwn_in: ["text"], mrkdwn_in: ["text"],
title: "#{topic.title} #{(category == '[uncategorized]') ? '' : category} #{topic.tags.present? ? topic.tags.map(&:name).join(', ') : ''}", title: "#{topic.title} #{(category == '[uncategorized]') ? '' : category} #{topic.tags.present? ? topic.tags.map(&:name).join(', ') : ''}",
title_link: post.full_url, title_link: post.full_url
thumb_url: post.full_url
} }
message[:attachments].push(summary) message[:attachments].push(summary)