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

fix(coolq): null message

This commit is contained in:
wdvxdr 2021-04-08 17:32:13 +08:00
parent 6fecede756
commit a0cb34dc7a
No known key found for this signature in database
GPG Key ID: 55FF1414A69CEBA6

View File

@ -293,8 +293,10 @@ func ToArrayMessage(e []message.IMessageElement, id int64, isRaw ...bool) (r []M
default: default:
continue continue
} }
if m != nil {
r = append(r, m) r = append(r, m)
} }
}
return return
} }