Skip to content

Commit

Permalink
Merge pull request #2504 from Akegarasu/fix-2494
Browse files Browse the repository at this point in the history
fix #2494
  • Loading branch information
fumiama committed Jan 7, 2024
2 parents d25e320 + b8d622b commit 7563573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coolq/cqcode.go
Expand Up @@ -404,7 +404,7 @@ func ToMessageContent(e []message.IMessageElement, source message.Source) (r []g
// ConvertStringMessage 将消息字符串转为消息元素数组
func (bot *CQBot) ConvertStringMessage(spec *onebot.Spec, raw string, sourceType message.SourceType) (r []message.IMessageElement) {
elems := msg.ParseString(raw)
return bot.ConvertElements(spec, elems, sourceType, true)
return bot.ConvertElements(spec, elems, sourceType, false)
}

// ConvertObjectMessage 将消息JSON对象转为消息元素数组
Expand Down

0 comments on commit 7563573

Please sign in to comment.