Fix the post URL for telegram messages
This commit is contained in:
parent
7371c2ef72
commit
9d91081f0c
|
@ -70,7 +70,7 @@ module DiscourseChat
|
||||||
return I18n.t(
|
return I18n.t(
|
||||||
"chat_integration.provider.telegram.message",
|
"chat_integration.provider.telegram.message",
|
||||||
user: display_name,
|
user: display_name,
|
||||||
post_url: "https://meta.discourse.org",
|
post_url: post.full_url,
|
||||||
title: CGI::escapeHTML(topic.title),
|
title: CGI::escapeHTML(topic.title),
|
||||||
post_excerpt: post.excerpt(SiteSetting.chat_integration_telegram_excerpt_length, text_entities: true, strip_links: true, remap_emoji: true),
|
post_excerpt: post.excerpt(SiteSetting.chat_integration_telegram_excerpt_length, text_entities: true, strip_links: true, remap_emoji: true),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue