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 | 3b701e98d82a2b67215bec5626d297caa239ca61 (patch) | |
tree | a35dc5ebc466cc5bef9ddeedeb009c4ebc76ec94 /mail/src/leap/__init__.py | |
parent | cb48866375576273f4eb4d76362d39bc160b35bd (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 'mail/src/leap/__init__.py')
0 files changed, 0 insertions, 0 deletions