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

Commit 1a7b57e

Browse files
committed
Update ToPreviewString()
1 parent ee2bee3 commit 1a7b57e

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
@@ -138,7 +138,7 @@ IEnumerable<Elem> IMessageEntity.PackElement()
138138
return null;
139139
}
140140

141-
public string ToPreviewString() => $"[Image: {PictureSize.X}x{PictureSize.Y}] {FilePath} {ImageSize} {ImageUrl}";
141+
public string ToPreviewString() => $"[Image: {PictureSize.X}x{PictureSize.Y}] {ToPreviewText()} {FilePath} {ImageSize} {ImageUrl}";
142142

143143
public string ToPreviewText() => string.IsNullOrEmpty(Summary) ? "[图片]" : Summary;
144144
}

0 commit comments

Comments
 (0)