From 714d18571b87b0dcbd3ff6c60e5e113f01ef2a30 Mon Sep 17 00:00:00 2001 From: Clawdbot Date: Mon, 16 Feb 2026 11:32:05 -0800 Subject: [PATCH] fix: pass compound senderID to HandleMessage for Telegram allowlist --- 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 5601d508c..47e2a8c23 100644 --- a/pkg/channels/telegram.go +++ b/pkg/channels/telegram.go @@ -355,7 +355,7 @@ func (c *TelegramChannel) handleMessage(ctx context.Context, message *telego.Mes "is_group": fmt.Sprintf("%t", message.Chat.Type != "private"), } - c.HandleMessage(fmt.Sprintf("%d", user.ID), fmt.Sprintf("%d", chatID), content, mediaPaths, metadata) + c.HandleMessage(senderID, fmt.Sprintf("%d", chatID), content, mediaPaths, metadata) return nil }