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",
|
Version: "V 8.4.5.4745",
|
||||||
Sig: &oidb.DADLoginSig{
|
Sig: &oidb.DADLoginSig{
|
||||||
Type: 1,
|
Type: 1,
|
||||||
Sig: c.sigInfo.sKey,
|
Sig: []byte(c.getSKey()),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
b, _ := proto.Marshal(body)
|
b, _ := proto.Marshal(body)
|
||||||
|
@ -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()...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user