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

Commit c29428c

Browse files
authored
[Core] Fix the error in judging the source of the image (#792)
1 parent 97484c1 commit c29428c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lagrange.Core/Message/Entity/ImageEntity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ IEnumerable<Elem> IMessageEntity.PackElement()
104104
ImageSize = index.Info.FileSize,
105105
MsgInfo = extra,
106106
SubType = (int)extra.ExtBizInfo.Pic.BizType,
107-
IsGroup = extra.ExtBizInfo.Pic.BytesPbReserveTroop != null,
107+
IsGroup = extra.ExtBizInfo.Pic.ToScene == 2,
108108
Summary = string.IsNullOrEmpty(extra.ExtBizInfo.Pic.TextSummary) ? "[图片]" : extra.ExtBizInfo.Pic.TextSummary,
109109
ImageUuid = index.FileUuid
110110
};

0 commit comments

Comments
 (0)