summaryrefslogtreecommitdiff
path: root/service/pixelated/adapter/services
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2015-08-24 20:50:04 -0300
committerVictor Shyba <victor.shyba@gmail.com>2015-08-24 20:50:04 -0300
commitac06712cb381d5b7e9306aa145b4738a0c0f069e (patch)
treefe92367fa5f22c07378a80ac4052ab363297a783 /service/pixelated/adapter/services
parentd0ae96039273ecc0c1d06f76209484ae420431f8 (diff)
[bug] start mailboxes properly
mail_store is needed as parameter, not querier --- Issue #439
Diffstat (limited to 'service/pixelated/adapter/services')
-rw-r--r--service/pixelated/adapter/services/mailboxes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/adapter/services/mailboxes.py b/service/pixelated/adapter/services/mailboxes.py
index 52c9c212..f8420326 100644
--- a/service/pixelated/adapter/services/mailboxes.py
+++ b/service/pixelated/adapter/services/mailboxes.py
@@ -38,7 +38,7 @@ class Mailboxes(object):
@defer.inlineCallbacks
def _index_mailboxes(self, mailboxes):
for mailbox_name in mailboxes:
- yield MailboxIndexerListener.listen(self.account, mailbox_name, self.querier)
+ yield MailboxIndexerListener.listen(self.account, mailbox_name, self.mail_store)
@defer.inlineCallbacks
def _create_or_get(self, mailbox_name):
@@ -50,7 +50,7 @@ class Mailboxes(object):
except MailboxCollision:
pass
# It means that it is already created. FIXME Why list_all fails to tell?
- yield MailboxIndexerListener.listen(self.account, mailbox_name, self.querier)
+ yield MailboxIndexerListener.listen(self.account, mailbox_name, self.mail_store)
defer.returnValue(Mailbox.create(mailbox_name, self.querier, self.search_engine))
@property