typo in comment linl

This commit is contained in:
Umputun
2018-10-25 23:21:24 -05:00
parent e514af76b0
commit 43b97f8d56
+1 -1
View File
@@ -80,7 +80,7 @@ func (t *Telegram) Send(ctx context.Context, req request) error {
from += " ➜ " + req.parent.User.Name
}
from = "*" + from + "*"
link := fmt.Sprintf("[orginal comment](%s)", req.comment.Locator.URL+uiNav+req.comment.ID)
link := fmt.Sprintf("[original 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)
msg = strings.Replace(msg, ``, `"`, -1) // telegram doesn't like quotes ” and shows them as "
u := fmt.Sprintf("%s%s/sendMessage?chat_id=@%s&text=%s&parse_mode=Markdown&disable_web_page_preview=true",