From d7da39d62ba97f7b1d1d7b308713c64f653fe30d Mon Sep 17 00:00:00 2001 From: Wutachi Date: Thu, 12 Feb 2026 02:34:10 -0300 Subject: [PATCH] Fix telegram channel permission check --- pkg/channels/telegram.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/channels/telegram.go b/pkg/channels/telegram.go index 95f6102..73a4290 100644 --- a/pkg/channels/telegram.go +++ b/pkg/channels/telegram.go @@ -343,7 +343,7 @@ func (c *TelegramChannel) handleMessage(ctx context.Context, update telego.Updat "is_group": fmt.Sprintf("%t", message.Chat.Type != "private"), } - c.HandleMessage(senderID, fmt.Sprintf("%d", chatID), content, mediaPaths, metadata) + c.HandleMessage(fmt.Sprintf("%d", user.ID), fmt.Sprintf("%d", chatID), content, mediaPaths, metadata) } func (c *TelegramChannel) downloadPhoto(ctx context.Context, fileID string) string {