From 0c50b9ec1aefbfa1921142a597395253d6743c74 Mon Sep 17 00:00:00 2001 From: Alpaim <156456776+alpaim@users.noreply.github.com> Date: Mon, 10 Jun 2024 16:49:44 +0300 Subject: [PATCH] fix: "forwarded from" string formatting (#21) --- memogram.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memogram.go b/memogram.go index faa704c..219a7f2 100644 --- a/memogram.go +++ b/memogram.go @@ -129,7 +129,7 @@ func (s *Service) handler(ctx context.Context, b *bot.Bot, m *models.Update) { if originUsername != "" { content = fmt.Sprintf("Forwarded from [%s](https://t.me/%s)\n%s", originName, originUsername, content) } else { - content = fmt.Sprintf("%s\n---\nForwarded from %s", originName, content) + content = fmt.Sprintf("Forwarded from %s\n%s", originName, content) } }