feat: Clear Zalo personal channel group history after sending messages to the agent.

This commit is contained in:
viettranx
2026-03-09 08:33:37 +07:00
parent e05a4018c9
commit 4b2d49cda9
@@ -432,6 +432,9 @@ func (c *Channel) handleGroupMessage(msg protocol.GroupMessage) {
"group_id": threadID,
}
c.HandleMessage(senderID, threadID, finalContent, media, metadata, "group")
// Clear pending history after sending to agent (matches Telegram/Discord/Slack/Feishu pattern).
c.groupHistory.Clear(threadID)
}
// startTyping starts a typing indicator with keepalive for the given thread.