typo in comment linl
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user