From 70245504f5facd217b80f6dba0d244ec3647b8f6 Mon Sep 17 00:00:00 2001 From: Umputun Date: Sat, 3 Jul 2021 23:52:20 -0500 Subject: [PATCH] restore link to original in tg notif --- backend/app/notify/telegram.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/notify/telegram.go b/backend/app/notify/telegram.go index 83200af2..92538081 100644 --- a/backend/app/notify/telegram.go +++ b/backend/app/notify/telegram.go @@ -194,7 +194,7 @@ func buildTelegramMessage(req Request) ([]byte, error) { } if req.Comment.PostTitle != "" { - msg += fmt.Sprintf("\n\n↦ \"%q\" ", req.Comment.PostTitle) + msg += fmt.Sprintf("\n\n↦ [%s](%s)", req.Comment.PostTitle, req.Comment.Locator.URL) } msg = html.UnescapeString(msg)