mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-05 03:23:50 +08:00
fix again.
This commit is contained in:
parent
fb15970f26
commit
27e5ad98c2
@ -296,7 +296,7 @@ func ToProtoElems(elems []IMessageElement, generalFlags bool) (r []*msg.Elem) {
|
|||||||
}
|
}
|
||||||
for _, elem := range elems {
|
for _, elem := range elems {
|
||||||
if e, ok := elem.(*ShortVideoElement); ok {
|
if e, ok := elem.(*ShortVideoElement); ok {
|
||||||
r = append(r, e.Pack()...)
|
r = e.Pack()
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
if e, ok := elem.(IRichMessageElement); ok {
|
if e, ok := elem.(IRichMessageElement); ok {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user