-
-
Notifications
You must be signed in to change notification settings - Fork 69.1k
[Bug]: Feishu topic group - Bot creates new thread instead of replying in existing topic #32958
Description
Bug type
Regression (worked before, now fails)
Summary
In Feishu topic groups with group_topic mode, Bot replies create new topics instead of replying to the existing topic thread.
Steps to reproduce
- Configure Feishu channel with group_topic session scope
- Add bot to a topic group (chat with topics enabled)
- Send a message in an existing topic thread @bot
- Bot replies - it creates a NEW topic instead of replying in the same topic
Expected behavior
Bot should reply in the same topic thread, not create a new topic. Use root_id as reply target in topic groups.
Actual behavior
Bot creates a NEW topic in the group, disrupting conversation flow. Users cannot continue discussion in the original topic thread.
OpenClaw version
2026.3.1
Operating system
Ubuntu 22.04
Install method
No response
Logs, screenshots, and evidence
Impact and severity
Affected: Feishu topic group users with group_topic mode
Severity: High (breaks conversation threading)
Frequency: 100% - always reproduces
Consequence: Cannot maintain topic-based discussion, users confused by new topics appearing
Additional information
Root cause: In extensions/feishu/src/bot.ts line 1182, the code uses ctx.messageId as replyToMessageId:
replyToMessageId: ctx.messageId,In Feishu topic groups, messages have a root_id (topic root message ID). Using messageId as reply target creates a new topic. Should use rootId instead:
replyToMessageId: ctx.rootId || ctx.messageId,This bug affects the new group_topic and group_topic_sender session modes added in v2026.3.1.