Skip to content

Cherry-pick d9230b13a: feat(feishu): skip reply-to in DM conversations#1465

Merged
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/d9230b13a-feishu-skip-reply-to-dm
Mar 15, 2026
Merged

Cherry-pick d9230b13a: feat(feishu): skip reply-to in DM conversations#1465
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/d9230b13a-feishu-skip-reply-to-dm

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Cherry-pick of upstream openclaw/openclaw@d9230b13a.

Original: feat(feishu): skip reply-to in DM conversations (openclaw#13211)

Part of #678.

Cherry-picked-from: d9230b1

In DM (p2p) chats, use message.create instead of message.reply
so that bot responses don't show a 'Reply to' quote. Group chats
retain the reply-to behavior for context clarity.

The typing indicator (emoji reaction on the user's message) is
preserved in DMs — only the reply reference in sent messages is
removed.

Changes:
- Add skipReplyToInMessages param to createFeishuReplyDispatcher
- In bot.ts, set skipReplyToInMessages: !isGroup for both dispatch sites
- In reply-dispatcher.ts, use sendReplyToMessageId (undefined for DMs)
  for message sending while keeping replyToMessageId for typing indicator

(cherry picked from commit d9230b1)
@alexey-pelykh alexey-pelykh merged commit d80d4af into main Mar 15, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the cherry-pick/d9230b13a-feishu-skip-reply-to-dm branch March 15, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants