summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/mailbox.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-02-12 12:37:31 -0400
committerKali Kaneko <kali@leap.se>2014-02-17 11:39:49 -0400
commit54114126d0b8e16784b67ee972e549e5c152c9d0 (patch)
tree33030a7156fef3c658a6eccc79618c055e948a63 /src/leap/mail/imap/mailbox.py
parentf5fe0fdefa61f4989735800980dc2a3241c2fdf3 (diff)
purge empty fdocs on select
Diffstat (limited to 'src/leap/mail/imap/mailbox.py')
-rw-r--r--src/leap/mail/imap/mailbox.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/mail/imap/mailbox.py b/src/leap/mail/imap/mailbox.py
index 7083316..087780f 100644
--- a/src/leap/mail/imap/mailbox.py
+++ b/src/leap/mail/imap/mailbox.py
@@ -157,6 +157,9 @@ class SoledadMailbox(WithMsgFields, MBoxParser):
from twisted.internet import reactor
self.reactor = reactor
+ # purge memstore from empty fdocs.
+ self._memstore.purge_fdoc_store(mbox)
+
@property
def listeners(self):
"""