]> Sergey Matveev's repositories - public-inbox.git/commit
lei_store: set_xvmd: don't add if no vmd at all
authorEric Wong <e@80x24.org>
Thu, 1 Apr 2021 12:10:40 +0000 (17:10 +0500)
committerEric Wong <e@80x24.org>
Thu, 1 Apr 2021 18:25:15 +0000 (18:25 +0000)
commit4a132f960e04201bcf4dcc06eb34d9c47ec13457
tree84a0828e5eacad6b1c7c9fae6d0428c9e90f71c0
parent1730d031a00654a64d1854480d0e83b62c2bfecd
lei_store: set_xvmd: don't add if no vmd at all

There's no point in adding vmd information for an external
message if it was never stored and there's no vmd at all.

We also don't need to check _docids_for for similar messages,
either, since we always check lse->kw_changed, first.
lib/PublicInbox/LeiStore.pm