diff --git a/lib/discourse_chat/provider/telegram/telegram_provider.rb b/lib/discourse_chat/provider/telegram/telegram_provider.rb index 2bf505a..f85cbd4 100644 --- a/lib/discourse_chat/provider/telegram/telegram_provider.rb +++ b/lib/discourse_chat/provider/telegram/telegram_provider.rb @@ -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), )