mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-07-26 15:19:47 +02:00
Fix reverse exports with an after boundary (#1569)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user