1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-06 03:53:50 +08:00

Remove content escape when using array post message format.

This commit is contained in:
yyuueexxiinngg 2020-08-11 15:22:26 +08:00 committed by GitHub
parent a075f41a51
commit 6c0e78b60c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ func ToArrayMessage(e []message.IMessageElement, code int64, raw ...bool) (r []M
case *message.TextElement:
m = MSG{
"type": "text",
"data": map[string]string{"text": CQCodeEscapeText(o.Content)},
"data": map[string]string{"text": o.Content},
}
case *message.AtElement:
if o.Target == 0 {