mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-06 12:03:50 +08:00
commit
cb00b87bd5
@ -1267,7 +1267,7 @@ func (c *QQClient) sendGroupGiftPacket(groupCode, uin uint64, productId message.
|
||||
Version: "V 8.4.5.4745",
|
||||
Sig: &oidb.DADLoginSig{
|
||||
Type: 1,
|
||||
Sig: c.sigInfo.sKey,
|
||||
Sig: []byte(c.getSKey()),
|
||||
},
|
||||
}
|
||||
b, _ := proto.Marshal(body)
|
||||
|
@ -276,7 +276,7 @@ func ToProtoElems(elems []IMessageElement, generalFlags bool) (r []*msg.Elem) {
|
||||
}
|
||||
}
|
||||
for _, elem := range elems {
|
||||
if e,ok := elem.(IRichMessageElement);ok{
|
||||
if e, ok := elem.(IRichMessageElement); ok {
|
||||
r = append(r, e.Pack()...)
|
||||
}
|
||||
}
|
||||
@ -485,7 +485,7 @@ func ParseMessageElems(elems []*msg.Elem) []IMessageElement {
|
||||
Size: flash.FlashTroopPic.Size,
|
||||
Width: flash.FlashTroopPic.Width,
|
||||
Height: flash.FlashTroopPic.Height,
|
||||
Md5: flash.FlashTroopPic.Md5,
|
||||
Md5: flash.FlashTroopPic.Md5,
|
||||
})
|
||||
}
|
||||
if flash.FlashC2CPic != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user