From cdea2bc293837fffeb42b861ba28a5bb4c0da324 Mon Sep 17 00:00:00 2001 From: Umputun Date: Wed, 24 Oct 2018 22:56:10 -0500 Subject: [PATCH] diable web page to true --- 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 3b5d0dcf..06d900fc 100644 --- a/backend/app/notify/telegram.go +++ b/backend/app/notify/telegram.go @@ -83,7 +83,7 @@ func (t *Telegram) Send(ctx context.Context, req request) error { link := fmt.Sprintf("[comment](%s)", req.comment.Locator.URL+uiNav+req.comment.ID) msg := fmt.Sprintf("%s\n\n%s\n\n%s", from, req.comment.Orig, link) - u := fmt.Sprintf("%s%s/sendMessage?chat_id=@%s&text=%s&parse_mode=Markdown&disable_web_page_preview=false", + u := fmt.Sprintf("%s%s/sendMessage?chat_id=@%s&text=%s&parse_mode=Markdown&disable_web_page_preview=true", t.apiPrefix, t.token, t.channelName, url.QueryEscape(msg)) r, err := http.NewRequest("GET", u, nil) if err != nil {