Skip to content
This repository was archived by the owner on Oct 12, 2025. It is now read-only.

Commit 2ab0c92

Browse files
authored
[Core] Fixed the issue where the trailing At in the reply could not be filtered in certain cases (#802)
1 parent a42456a commit 2ab0c92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lagrange.Core/Message/Entity/ForwardEntity.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ IEnumerable<Elem> IMessageEntity.PackElement()
5454
var mentionReserve = new MentionExtra
5555
{
5656
Type = TargetUin == 0 ? 1 : 2,
57-
Uin = 0,
57+
Uin = TargetUin,
5858
Field5 = 0,
59-
Uid = Uid,
59+
Uid = Uid!,
6060
};
6161
using var mentionStream = new MemoryStream();
6262
Serializer.Serialize(mentionStream, mentionReserve);

0 commit comments

Comments
 (0)