From f98d5de484cc5e7831d74ddf6ccebdbb6072ea26 Mon Sep 17 00:00:00 2001
From: emv33 <142946271+emv33@users.noreply.github.com>
Date: Thu, 20 Jun 2024 20:04:26 +0200
Subject: [PATCH] Telegram: add feed name to message
39d752c removed a link to the feed name to solve a web preview issue. This change brings back the feed name without the link, thus restoring the feed name without bringing back the issue.
Fixes #2620
---
internal/integration/telegrambot/telegrambot.go | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/internal/integration/telegrambot/telegrambot.go b/internal/integration/telegrambot/telegrambot.go
index d63ef560..e17e4b73 100644
--- a/internal/integration/telegrambot/telegrambot.go
+++ b/internal/integration/telegrambot/telegrambot.go
@@ -11,7 +11,8 @@ import (
func PushEntry(feed *model.Feed, entry *model.Entry, botToken, chatID string, topicID *int64, disableWebPagePreview, disableNotification bool, disableButtons bool) error {
formattedText := fmt.Sprintf(
- `%s`,
+ `%s - %s`,
+ feed.Title,
entry.URL,
entry.Title,
)