diff --git a/Lagrange.Core/Internal/Packets/Action/SendMessageResponse.cs b/Lagrange.Core/Internal/Packets/Action/SendMessageResponse.cs index 64d51a81b..91cba47b4 100644 --- a/Lagrange.Core/Internal/Packets/Action/SendMessageResponse.cs +++ b/Lagrange.Core/Internal/Packets/Action/SendMessageResponse.cs @@ -13,9 +13,9 @@ internal class SendMessageResponse [ProtoMember(10)] public uint Field10 { get; set; } - [ProtoMember(11)] public uint? Sequence { get; set; } + [ProtoMember(11)] public uint? GroupSequence { get; set; } [ProtoMember(12)] public uint Timestamp2 { get; set; } - [ProtoMember(14)] public uint Field14 { get; set; } + [ProtoMember(14)] public uint PrivateSequence { get; set; } } \ No newline at end of file diff --git a/Lagrange.Core/Internal/Service/Message/SendMessageService.cs b/Lagrange.Core/Internal/Service/Message/SendMessageService.cs index 7df454a0e..9c0ca0a06 100644 --- a/Lagrange.Core/Internal/Service/Message/SendMessageService.cs +++ b/Lagrange.Core/Internal/Service/Message/SendMessageService.cs @@ -34,7 +34,7 @@ protected override bool Parse(byte[] input, BotKeystore keystore, BotAppInfo app var result = new MessageResult { Result = (uint)response.Result, - Sequence = response.Sequence, + Sequence = response.GroupSequence ?? response.PrivateSequence, Timestamp = response.Timestamp1, };