Skip to content

Commit

Permalink
[Core] fix: #545 (#546)
Browse files Browse the repository at this point in the history
  • Loading branch information
dogdie233 authored Aug 26, 2024
1 parent 9042bd4 commit 02d160a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lagrange.Core/Message/Entity/ImageEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ IEnumerable<Elem> IMessageEntity.PackElement()

IMessageEntity? IMessageEntity.UnpackElement(Elem elems)
{
if (elems.CommonElem is { BusinessType: 20 or 10 } common)
if (elems.CommonElem is { ServiceType: 48, BusinessType: 20 or 10 } common)
{
var extra = Serializer.Deserialize<MsgInfo>(common.PbElem.AsSpan());
var index = extra.MsgInfoBody[0].Index;
Expand Down

0 comments on commit 02d160a

Please sign in to comment.