fix(feishu): remove duplicate prependReplyContext call
This commit is contained in:
parent
2a2233e912
commit
02eb2918ae
1 changed files with 0 additions and 5 deletions
|
|
@ -465,11 +465,6 @@ func (c *FeishuChannel) handleMessageReceive(ctx context.Context, event *larkim.
|
||||||
content = cleaned
|
content = cleaned
|
||||||
}
|
}
|
||||||
|
|
||||||
content, mediaRefs = c.prependReplyContext(ctx, message, chatID, content, mediaRefs)
|
|
||||||
if content == "" {
|
|
||||||
content = "[empty message]"
|
|
||||||
}
|
|
||||||
|
|
||||||
if replyTargetID(message) != "" || stringValue(message.ThreadId) != "" {
|
if replyTargetID(message) != "" || stringValue(message.ThreadId) != "" {
|
||||||
content, mediaRefs = c.prependReplyContext(ctx, message, chatID, content, mediaRefs)
|
content, mediaRefs = c.prependReplyContext(ctx, message, chatID, content, mediaRefs)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue