fix(feishu): remove duplicate prependReplyContext call

This commit is contained in:
ywj 2026-04-04 09:02:45 +08:00
parent 2a2233e912
commit 02eb2918ae

View file

@ -465,11 +465,6 @@ func (c *FeishuChannel) handleMessageReceive(ctx context.Context, event *larkim.
content = cleaned
}
content, mediaRefs = c.prependReplyContext(ctx, message, chatID, content, mediaRefs)
if content == "" {
content = "[empty message]"
}
if replyTargetID(message) != "" || stringValue(message.ThreadId) != "" {
content, mediaRefs = c.prependReplyContext(ctx, message, chatID, content, mediaRefs)
}