Skip to content

[Bug]: Feishu topic group - Bot creates new thread instead of replying in existing topic #32958

@dzp62442

Description

@dzp62442

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

  1. Configure Feishu channel with group_topic session scope
  2. Add bot to a topic group (chat with topics enabled)
  3. Send a message in an existing topic thread @bot
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions