summaryrefslogtreecommitdiff
path: root/service/pixelated/adapter/services
diff options
context:
space:
mode:
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