summaryrefslogtreecommitdiff
path: root/src/leap/mail/mailbox_indexer.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-03-23 17:50:21 -0400
committerKali Kaneko <kali@leap.se>2016-03-24 14:00:12 -0400
commit49ba2965434c6f771e7946899901c594beed8908 (patch)
tree3a7fbc3831f31d692d2ec417381d2cbc091faca9 /src/leap/mail/mailbox_indexer.py
parent7c9082152155100b171450f54c56c614104175df (diff)
[bug] let the inbox used in IncomingMail notify any subscribed Mailbox
the mail service uses an Account object created from scratch, so it wasn't sharing the collections mapping with the other Account object that is created in the IMAP Service. I make it a class attribute to allow mailbox notifications. However, with the transition to a single service tree, this class attribute can again become a class instance. This is somehow related to a PR proposed recently by cz8s in pixelated team: https://github.com/leapcode/leap_mail/pull/228 However, I'm reluctant to re-use IMAPMailbox instances, since they represent concurrent views over the same collection. I believe that sharing the same underlying collection might be enough.
Diffstat (limited to 'src/leap/mail/mailbox_indexer.py')
0 files changed, 0 insertions, 0 deletions