mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
fix: private message uid again
昵昵害人(bushi
This commit is contained in:
parent
8f4a2f6c3a
commit
a835d4e5c3
@ -76,11 +76,17 @@ func (c *QQClient) buildPrivateRecallPacket(uin, ts int64, msgSeq, random int32)
|
|||||||
FromUin: &c.Uin,
|
FromUin: &c.Uin,
|
||||||
ToUin: &uin,
|
ToUin: &uin,
|
||||||
MsgTime: &ts,
|
MsgTime: &ts,
|
||||||
MsgUid: proto.Int64(0x01000000000000000 | (int64(random) & 0xFFFFFFFF)),
|
MsgUid: proto.Int64(0x0100_0000_0000_0000 | (int64(random) & 0xFFFFFFFF)),
|
||||||
MsgSeq: &msgSeq,
|
MsgSeq: &msgSeq,
|
||||||
MsgRandom: &random,
|
MsgRandom: &random,
|
||||||
|
RoutingHead: &msg.RoutingHead{
|
||||||
|
C2C: &msg.C2C{
|
||||||
|
ToUin: &uin,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
LongMessageFlag: proto.Int32(0),
|
||||||
Reserved: []byte{0x08, 0x00},
|
Reserved: []byte{0x08, 0x00},
|
||||||
SubCmd: proto.Int32(1),
|
SubCmd: proto.Int32(1),
|
||||||
},
|
},
|
||||||
|
@ -596,7 +596,7 @@ func (forMsg *ForwardMessage) packForwardMsg(seq int32, random int32, groupCode
|
|||||||
FromUin: &node.SenderId,
|
FromUin: &node.SenderId,
|
||||||
MsgSeq: &seq,
|
MsgSeq: &seq,
|
||||||
MsgTime: &node.Time,
|
MsgTime: &node.Time,
|
||||||
MsgUid: proto.Int64(0x01000000000000000 | (int64(random) & 0xFFFFFFFF)),
|
MsgUid: proto.Int64(0x0100_0000_0000_0000 | (int64(random) & 0xFFFFFFFF)),
|
||||||
MutiltransHead: &msg.MutilTransHead{
|
MutiltransHead: &msg.MutilTransHead{
|
||||||
MsgId: proto.Int32(1),
|
MsgId: proto.Int32(1),
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user