mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
fix reply image.
This commit is contained in:
parent
a24c4fbd90
commit
c69e578d08
@ -294,6 +294,11 @@ func ToProtoElems(elems []IMessageElement, generalFlags bool) (r []*msg.Elem) {
|
||||
TroopName: []byte{},
|
||||
},
|
||||
})
|
||||
if len(elems) > 1 {
|
||||
if elems[0].Type() == Image || elems[1].Type() == Image {
|
||||
r = append(r, &msg.Elem{Text: &msg.Text{Str: proto.String(" ")}})
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
for _, elem := range elems {
|
||||
|
Loading…
x
Reference in New Issue
Block a user