fix: pass compound senderID to HandleMessage for Telegram allowlist

This commit is contained in:
Clawdbot 2026-02-16 11:32:05 -08:00
parent 13e4028d42
commit 714d18571b

View file

@ -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
}