remove tags from telegram post
release / docker-image (push) Successful in 1m21s
release / goreleaser (push) Successful in 10m20s

This commit is contained in:
2026-02-22 12:25:38 +03:00
parent 2c6e71bad5
commit 2ca838a50f
-10
View File
@@ -29,16 +29,6 @@ func formatMemory(mem *search.Memory, publicURL string) string {
// Content
b.WriteString(escapeHTML(mem.Memo.Content))
// Tags
if len(mem.Memo.Tags) > 0 {
b.WriteString("\n\n")
tags := make([]string, len(mem.Memo.Tags))
for i, t := range mem.Memo.Tags {
tags[i] = "#" + t
}
b.WriteString(strings.Join(tags, " "))
}
// Link to original
memoURL := fmt.Sprintf("%s/%s", publicURL, mem.Memo.Name)
b.WriteString("\n\n<a href=\"" + memoURL + "\">Оригинал</a>")