mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
fix bug.
This commit is contained in:
parent
0198f71ff8
commit
274c4a329a
@ -753,8 +753,8 @@ func (c *QQClient) buildGroupPttStorePacket(groupCode int64, md5 []byte, size, c
|
||||
func (c *QQClient) buildSystemMsgNewGroupPacket() (uint16, []byte) {
|
||||
seq := c.nextSeq()
|
||||
req := &structmsg.ReqSystemMsgNew{
|
||||
MsgNum: 10,
|
||||
Version: 100,
|
||||
MsgNum: 100,
|
||||
Version: 1000,
|
||||
Checktype: 3,
|
||||
Flag: &structmsg.FlagInfo{
|
||||
GrpMsgKickAdmin: 1,
|
||||
|
@ -306,20 +306,18 @@ func ToProtoElems(elems []IMessageElement, generalFlags bool) (r []*msg.Elem) {
|
||||
CustomFace: &msg.CustomFace{
|
||||
FilePath: e.Filename,
|
||||
Md5: e.Md5,
|
||||
//Size: e.Size,
|
||||
Flag: make([]byte, 4),
|
||||
OldData: imgOld,
|
||||
Flag: make([]byte, 4),
|
||||
OldData: imgOld,
|
||||
},
|
||||
})
|
||||
case *GroupImageElement:
|
||||
r = append(r, &msg.Elem{
|
||||
CustomFace: &msg.CustomFace{
|
||||
//FileType: 66,
|
||||
FileType: 66,
|
||||
Useful: 1,
|
||||
Origin: 1,
|
||||
FileId: int32(e.FileId),
|
||||
FilePath: e.ImageId,
|
||||
Size: e.Size,
|
||||
Md5: e.Md5[:],
|
||||
Flag: make([]byte, 4),
|
||||
//OldData: imgOld,
|
||||
|
Loading…
x
Reference in New Issue
Block a user