]> Sergey Matveev's repositories - public-inbox.git/commit
lei up: fix dedupe with remote externals on Maildir + IMAP
authorEric Wong <e@80x24.org>
Mon, 3 May 2021 20:57:31 +0000 (20:57 +0000)
committerEric Wong <e@80x24.org>
Tue, 4 May 2021 02:35:34 +0000 (02:35 +0000)
commitd98abf13946beaf685804e4ec2d79019129415b9
treece554cf307a0b56f07a1b1c95e50a000272a0254
parente77f38470abdd0f4df8c2469c36f17188f0df64c
lei up: fix dedupe with remote externals on Maildir + IMAP

LeiToMail Maildir and IMAP write callbacks need to account for
the caller-supplied smsg.  We'll also make better use of the
user-supplied smsg object by ensuring blob deduplication happens
ASAP.

Fixes: e76683309ca4f254 ("lei <q|up>: distinguish between mset and l2m counts")
lib/PublicInbox/LeiSavedSearch.pm
lib/PublicInbox/LeiToMail.pm
t/lei-q-remote-import.t