Fix reverse exports with an after boundary (#1569)

This commit is contained in:
Kushida
2026-07-25 20:28:06 +03:00
committed by GitHub
parent 0358045c94
commit 91a8daf3a7
2 changed files with 50 additions and 0 deletions
@@ -796,6 +796,10 @@ public class DiscordClient(
foreach (var message in messages)
{
// Ensure that the messages are in range
if (message.Timestamp <= after?.ToDate())
yield break;
lastMessage ??= message;
// Report progress based on timestamps