feat: support for customizing the timestamp of fake forwardMsg

This commit is contained in:
pk5ls20 committed 2024-10-26 04:06:42 +08:00
1 parent 730c928f91
commit 640fb75f74
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ export class PacketMsgBuilder {
divSeq: node.groupId ? undefined : 4,
msgId: crypto.randomBytes(4).readUInt32LE(0),
sequence: crypto.randomBytes(4).readUInt32LE(0),
timeStamp: Math.floor(Date.now() / 1000),
timeStamp: +node.time.toString().substring(0, 10),
field7: BigInt(1),
field8: 0,
field9: 0,