From 8e3ffc483a8ed1b4290b2004e61ab1f2f44d6368 Mon Sep 17 00:00:00 2001 From: Linwenxuan04 Date: Thu, 9 Jan 2025 06:57:12 -0500 Subject: [PATCH] [Core] Fixed Summary of NTV2Richmedia Picture --- Lagrange.Core/Message/Entity/ImageEntity.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Lagrange.Core/Message/Entity/ImageEntity.cs b/Lagrange.Core/Message/Entity/ImageEntity.cs index 9fa67c92b..7ca29200a 100644 --- a/Lagrange.Core/Message/Entity/ImageEntity.cs +++ b/Lagrange.Core/Message/Entity/ImageEntity.cs @@ -103,6 +103,7 @@ IEnumerable 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, }; }