Skip to content

Commit

Permalink
fix #2494
Browse files Browse the repository at this point in the history
  • Loading branch information
Akegarasu committed Jan 3, 2024
1 parent 9cccd0e commit b8d622b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coolq/cqcode.go
Original file line number Diff line number Diff line change
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 b8d622b

Please sign in to comment.