From fca90592d64f5fc2ddb3416bce8ab5f717548cd2 Mon Sep 17 00:00:00 2001 From: pk5ls20 Date: Wed, 5 Feb 2025 08:29:37 +0800 Subject: [PATCH] try fix: #755 --- src/core/packet/message/element.ts | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/core/packet/message/element.ts b/src/core/packet/message/element.ts index 3a1197ba..e37167ed 100644 --- a/src/core/packet/message/element.ts +++ b/src/core/packet/message/element.ts @@ -137,18 +137,9 @@ export class PacketMsgReplyElement extends IPacketMsgElement { pbReserve: { messageId: this.messageId, }, - toUin: BigInt(0), + toUin: BigInt(this.targetUin), + type: 1, } - }, { - text: this.isGroupReply ? { - str: 'nya~', - pbReserve: new NapProtoMsg(MentionExtra).encode({ - type: this.targetUin === 0 ? 1 : 2, - uin: 0, - field5: 0, - uid: String(this.targetUid), - }), - } : undefined, }]; }