diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2014-10-21 13:46:05 +0200 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2014-10-21 13:46:05 +0200 |
commit | d2c4f711da1ddb0e28bc0868e4c33c1aa1aadc26 (patch) | |
tree | 2e9c7e0836fde4d5f17380e3446e2e8ad224d8b6 | |
parent | d50d93eb2aa43f8bedf3e1b1bca33777d5dc6d82 (diff) |
No need to remove duplicates every time we fetch mail, that was a mistake
-rw-r--r-- | service/pixelated/adapter/soledad_querier.py | 1 |
1 files changed, 0 insertions, 1 deletions
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) |