diff options
author | Kali Kaneko <kali@leap.se> | 2014-02-12 12:37:31 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-02-17 11:39:49 -0400 |
commit | 54114126d0b8e16784b67ee972e549e5c152c9d0 (patch) | |
tree | 33030a7156fef3c658a6eccc79618c055e948a63 /src/leap/mail/imap/mailbox.py | |
parent | f5fe0fdefa61f4989735800980dc2a3241c2fdf3 (diff) |
purge empty fdocs on select
Diffstat (limited to 'src/leap/mail/imap/mailbox.py')
-rw-r--r-- | src/leap/mail/imap/mailbox.py | 3 |
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): """ |