Fix the post URL for telegram messages

This commit is contained in:
David Taylor 2017-07-20 12:27:34 +01:00
parent 7371c2ef72
commit 9d91081f0c
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ module DiscourseChat
return I18n.t(
"chat_integration.provider.telegram.message",
user: display_name,
post_url: "https://meta.discourse.org",
post_url: post.full_url,
title: CGI::escapeHTML(topic.title),
post_excerpt: post.excerpt(SiteSetting.chat_integration_telegram_excerpt_length, text_entities: true, strip_links: true, remap_emoji: true),
)