Skip to content

Commit

Permalink
[Core] Fixed Summary of NTV2Richmedia Picture
Browse files Browse the repository at this point in the history
  • Loading branch information
Linwenxuan04 committed Jan 9, 2025
1 parent e052ebf commit 8e3ffc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lagrange.Core/Message/Entity/ImageEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ IEnumerable<Elem> IMessageEntity.PackElement()
MsgInfo = extra,
SubType = (int)extra.ExtBizInfo.Pic.BizType,
IsGroup = extra.ExtBizInfo.Pic.BytesPbReserveTroop != null,
Summary = string.IsNullOrEmpty(extra.ExtBizInfo.Pic.TextSummary) ? "[图片]" : extra.ExtBizInfo.Pic.TextSummary,
};
}

Expand Down

0 comments on commit 8e3ffc4

Please sign in to comment.