Remove incorrect thumb_url from mattermost
This commit is contained in:
parent
92e22d65da
commit
438a9d92fe
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue