Skip to content

[[reply_to_current]] tag does not create thread replies on Mattermost #27707

@hnykda

Description

@hnykda

Description

The [[reply_to_current]] reply tag (documented in the system prompt as a way to create native replies/quotes) does not produce threaded replies on Mattermost. The message is sent as a new top-level message in the DM channel instead of a thread reply to the triggering message.

Image Image

Workaround

Using the message tool with the replyTo parameter and an explicit message ID does work correctly — the message lands in a thread as expected.

Steps to Reproduce

  1. Receive a DM on Mattermost
  2. Reply with [[reply_to_current]] some text
  3. Message arrives as a new top-level message, not a thread reply

Expected Behavior

The message should be posted as a thread reply (using Mattermost root_id) to the message that triggered the agent turn.

Environment

  • OpenClaw 2026.2.23
  • Mattermost channel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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