diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-02-27 12:47:11 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-02-27 12:47:11 -0300 |
commit | 1348abaef5ac93692c308b910b41524e39cd627e (patch) | |
tree | ef69432c768ff7045616f409fe3709377f410fed /src/leap/mail/imap/account.py | |
parent | 8a9e4239cfd4c8fc87721de41037dce566c67de5 (diff) | |
parent | 733994d68b9f3ce528b552f67e9cbec005e57e9f (diff) |
Merge remote-tracking branch 'refs/remotes/kali/bug/delete_folder' into develop
Diffstat (limited to 'src/leap/mail/imap/account.py')
-rw-r--r-- | src/leap/mail/imap/account.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/leap/mail/imap/account.py b/src/leap/mail/imap/account.py index ede63d3..199a2a4 100644 --- a/src/leap/mail/imap/account.py +++ b/src/leap/mail/imap/account.py @@ -329,20 +329,13 @@ class SoledadBackedAccount(WithMsgFields, IndexedDB, MBoxParser): raise imap4.MailboxCollision(repr(new)) for (old, new) in inferiors: + self._memstore.rename_fdocs_mailbox(old, new) mbox = self._get_mailbox_by_name(old) mbox.content[self.MBOX_KEY] = new self._soledad.put_doc(mbox) self._load_mailboxes() - # XXX ---- FIXME!!!! ------------------------------------ - # until here we just renamed the index... - # We have to rename also the occurrence of this - # mailbox on ALL the messages that are contained in it!!! - # ... we maybe could use a reference to the doc_id - # in each msg, instead of the "mbox" field in msgs - # ------------------------------------------------------- - def _inferiorNames(self, name): """ Return hierarchically inferior mailboxes. |