mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 03:23:49 +08:00
fix #1520
This commit is contained in:
parent
70d1bfe510
commit
d25209c366
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user