Skip to content
This repository was archived by the owner on Oct 12, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Lagrange.Core/Internal/Service/Message/PokeService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ internal class PokeService : BaseService<PokeEvent>
protected override bool Build(PokeEvent input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device,
out Span<byte> output, out List<Memory<byte>>? extraPackets)
{
var packet = new OidbSvcTrpcTcp0xED3_1
var packet = new OidbSvcTrpcTcpBase<OidbSvcTrpcTcp0xED3_1>(new OidbSvcTrpcTcp0xED3_1
{
Uin = input.TargetUin ?? keystore.Uin,
GroupUin = input.IsGroup ? input.PeerUin : 0,
FriendUin = input.IsGroup ? 0 : input.PeerUin,
Ext = 0
};
});
output = packet.Serialize();
extraPackets = null;
return true;
Expand Down