Skip to content

Commit 0cea99f

Browse files
author
Mathias Millet
committed
fix: rollback usage of headers_only
1 parent ae60c48 commit 0cea99f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mmuxer/cli/run.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ def _tidy(
2323
total_emails = len(box.numbers())
2424
with progress_when_tty() as progress:
2525
task = progress.add_task("[bold blue]Preparing to tidy emails...", total=total_emails)
26-
for msg in box.fetch(bulk=100, mark_seen=False, headers_only=True):
26+
for msg in box.fetch(bulk=100, mark_seen=False):
27+
# TODO: use headers_only=True for perf gains - however needs
28+
# to handle case where filter depends on body, and somehow fix tests
2729
msg.associated_folder = folder
2830
apply_list(state.rules, box, msg, dry_run)
2931
for script in state.scripts:

0 commit comments

Comments
 (0)