diff options
author | Kali Kaneko <kali@leap.se> | 2015-06-29 11:57:20 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-06-29 13:12:47 -0400 |
commit | 0dbf2be49db228e43fe4b196199f82ea281886bf (patch) | |
tree | 2bc5b874323915bad2669cdd5085954bcbc3e418 /src/leap/mail/tests/common.py | |
parent | c0f3a6afa81f93f8d1b078a62e4411b2321ba9f0 (diff) |
[bug] allow mailbox to be notified of collection changes
in a previous refactor, we decoupled the incoming mail service from the
IMAP layer. However, this left the IMAPMailbox unable to react to
changes in the underlying collection when a new message is inserted.
in this commit, we add a Listener mechanism to the collection itself, so
that IMAPMailbox (and any other object that uses it) can subscribe to
changes on the number of messages of the collection.
Resolves: #7191
Releases: 0.4.0
Diffstat (limited to 'src/leap/mail/tests/common.py')
0 files changed, 0 insertions, 0 deletions