summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/pixelated/adapter/services/mailboxes.py4
-rw-r--r--service/pixelated/config/services.py2
2 files changed, 3 insertions, 3 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
diff --git a/service/pixelated/config/services.py b/service/pixelated/config/services.py
index cc8da83b..2decaab1 100644
--- a/service/pixelated/config/services.py
+++ b/service/pixelated/config/services.py
@@ -28,7 +28,7 @@ class Services(object):
pixelated_mailboxes = Mailboxes(
leap_session.account,
- leap_session.soledad_session.soledad,
+ leap_session.mail_store,
soledad_querier,
self.search_engine)
yield pixelated_mailboxes.index_mailboxes()