mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-08-23 22:26:53 +00:00
feat: Clear Zalo personal channel group history after sending messages to the agent.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user