Add GitHub issue link to code comment explaining case-insensitive lookup

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-01-01 19:03:08 +00:00
parent fcc0f9a765
commit 975ce249b7

View file

@ -45,6 +45,7 @@ public partial class DataDump
// Try to find the index file with case-insensitive search
// Discord changed the structure from "messages/index.json" to "Messages/index.json"
// https://github.com/Tyrrrz/DiscordChatExporter/issues/1458
var entry = archive.Entries.FirstOrDefault(e =>
e.FullName.Equals("messages/index.json", StringComparison.OrdinalIgnoreCase)
);