From d2c4f711da1ddb0e28bc0868e4c33c1aa1aadc26 Mon Sep 17 00:00:00 2001 From: Duda Dornelles Date: Tue, 21 Oct 2014 13:46:05 +0200 Subject: No need to remove duplicates every time we fetch mail, that was a mistake --- service/pixelated/adapter/soledad_querier.py | 1 - 1 file changed, 1 deletion(-) diff --git a/service/pixelated/adapter/soledad_querier.py b/service/pixelated/adapter/soledad_querier.py index 3aab46df..f0b5561f 100644 --- a/service/pixelated/adapter/soledad_querier.py +++ b/service/pixelated/adapter/soledad_querier.py @@ -66,7 +66,6 @@ class SoledadQuerier: return PixelatedMail.from_soledad(fdoc, hdoc, bdoc, soledad_querier=self) def mails(self, idents): - self.remove_inbox_duplicates() fdocs_chash = [(self.soledad.get_from_index('by-type-and-contenthash', 'flags', ident), ident) for ident in idents] fdocs_chash = [(result[0], ident) for result, ident in fdocs_chash if result] return self._build_mails_from_fdocs(fdocs_chash) -- cgit v1.2.3