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

Commit c43e724

Browse files
authored
[Core] Fix poke (#844) (#898)
1 parent 1968eac commit c43e724

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lagrange.Core/Internal/Service/Message/PokeService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ internal class PokeService : BaseService<PokeEvent>
1515
protected override bool Build(PokeEvent input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device,
1616
out Span<byte> output, out List<Memory<byte>>? extraPackets)
1717
{
18-
var packet = new OidbSvcTrpcTcp0xED3_1
18+
var packet = new OidbSvcTrpcTcpBase<OidbSvcTrpcTcp0xED3_1>(new OidbSvcTrpcTcp0xED3_1
1919
{
2020
Uin = input.TargetUin ?? keystore.Uin,
2121
GroupUin = input.IsGroup ? input.PeerUin : 0,
2222
FriendUin = input.IsGroup ? 0 : input.PeerUin,
2323
Ext = 0
24-
};
24+
});
2525
output = packet.Serialize();
2626
extraPackets = null;
2727
return true;

0 commit comments

Comments
 (0)