1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00
This commit is contained in:
wdvxdr 2020-10-13 21:35:34 +08:00
parent f414ad7a5a
commit d9901f528b
2 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ type GroupShowPicElement struct {
EffectId int32 EffectId int32
} }
type FriendFlashPicElement struct{ type FriendFlashPicElement struct {
FriendImageElement FriendImageElement
} }

View File

@ -276,7 +276,7 @@ func ToProtoElems(elems []IMessageElement, generalFlags bool) (r []*msg.Elem) {
} }
} }
for _, elem := range elems { for _, elem := range elems {
if e,ok := elem.(IRichMessageElement);ok{ if e, ok := elem.(IRichMessageElement); ok {
r = append(r, e.Pack()...) r = append(r, e.Pack()...)
} }
} }