mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 03:23:49 +08:00
fix: make linter happy
This commit is contained in:
parent
b8fe459c75
commit
a10aee8c8d
@ -813,8 +813,7 @@ func (bot *CQBot) uploadForwardElement(m gjson.Result, groupID int64) *message.F
|
|||||||
return elems
|
return elems
|
||||||
}
|
}
|
||||||
|
|
||||||
var convert func(e gjson.Result) *message.ForwardNode
|
convert := func(e gjson.Result) *message.ForwardNode {
|
||||||
convert = func(e gjson.Result) *message.ForwardNode {
|
|
||||||
if e.Get("type").Str != "node" {
|
if e.Get("type").Str != "node" {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user