mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
fix decode bug.
This commit is contained in:
parent
812f6c0f60
commit
988a010b51
@ -427,13 +427,12 @@ func ParseMessageElems(elems []*msg.Elem) []IMessageElement {
|
||||
}
|
||||
}
|
||||
if elem.VideoFile != nil {
|
||||
res = append(res, &ShortVideoElement{
|
||||
return append(res, &ShortVideoElement{
|
||||
Name: string(elem.VideoFile.FileName),
|
||||
Uuid: elem.VideoFile.FileUuid,
|
||||
Size: elem.VideoFile.FileSize,
|
||||
Md5: elem.VideoFile.FileMd5,
|
||||
})
|
||||
continue
|
||||
}
|
||||
if elem.Text != nil {
|
||||
if len(elem.Text.Attr6Buf) == 0 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user