1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 03:23:49 +08:00
This commit is contained in:
Mrs4s 2022-06-05 17:35:37 +08:00
parent 70d1bfe510
commit d25209c366
No known key found for this signature in database
GPG Key ID: 3186E98FA19CE3A7

View File

@ -870,7 +870,7 @@ func (bot *CQBot) uploadForwardElement(m gjson.Result, target int64, sourceType
if msgTime == 0 { if msgTime == 0 {
msgTime = ts.Unix() msgTime = ts.Unix()
} }
name := e.Get("data.name").Str name := e.Get("data.[name,nickname].0").Str
c := e.Get("data.content") c := e.Get("data.content")
if c.IsArray() { if c.IsArray() {
nested := false nested := false