diff --git a/DiscordChatExporter/Services/ExportService.cs b/DiscordChatExporter/Services/ExportService.cs index ea2227b..20e22e0 100644 --- a/DiscordChatExporter/Services/ExportService.cs +++ b/DiscordChatExporter/Services/ExportService.cs @@ -1,4 +1,5 @@ using System.IO; +using System.Linq; using System.Reflection; using System.Resources; using System.Text.RegularExpressions; @@ -42,7 +43,7 @@ namespace DiscordChatExporter.Services infoRightHtml.AppendChild(HtmlNode.CreateNode( $"
{log.Channel.Name}
")); infoRightHtml.AppendChild(HtmlNode.CreateNode( - $"
{log.MessageGroups.Count:N0} messages
")); + $"
{log.MessageGroups.SelectMany(g => g.Messages).Count():N0} messages
")); // Log var logHtml = doc.GetElementbyId("log");