diff options
author | Kali Kaneko <kali@leap.se> | 2016-03-23 17:50:21 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-03-24 14:00:12 -0400 |
commit | 49ba2965434c6f771e7946899901c594beed8908 (patch) | |
tree | 3a7fbc3831f31d692d2ec417381d2cbc091faca9 /src/leap/mail/cred.py | |
parent | 7c9082152155100b171450f54c56c614104175df (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/cred.py')
0 files changed, 0 insertions, 0 deletions