Skip to content

read: skip interleaveThreads when no date files are selected - #224

Open
anish749 wants to merge 2 commits into
mainfrom
fix-interleave-empty-date-v2
Open

read: skip interleaveThreads when no date files are selected#224
anish749 wants to merge 2 commits into
mainfrom
fix-interleave-empty-date-v2

Conversation

@anish749

Copy link
Copy Markdown
Owner

Problem

When reading with --date, conversations with no date file for that day still returned data because interleaveThreads dumped all thread files when no parent messages were matched.

Solution

Return early from ReadConversation when no date files are selected, before calling interleaveThreads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant