summaryrefslogtreecommitdiff
path: root/service/pixelated
diff options
context:
space:
mode:
Diffstat (limited to 'service/pixelated')
-rw-r--r--service/pixelated/adapter/services/mail_service.py3
-rw-r--r--service/pixelated/config/services.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/service/pixelated/adapter/services/mail_service.py b/service/pixelated/adapter/services/mail_service.py
index da1b1bea..23cbc5f7 100644
--- a/service/pixelated/adapter/services/mail_service.py
+++ b/service/pixelated/adapter/services/mail_service.py
@@ -20,8 +20,9 @@ from pixelated.adapter.services.tag_service import extract_reserved_tags
class MailService(object):
- def __init__(self, mailboxes, mail_sender, soledad_querier, search_engine):
+ def __init__(self, mailboxes, mail_sender, mail_store, soledad_querier, search_engine):
self.mailboxes = mailboxes
+ self.mail_store = mail_store
self.querier = soledad_querier
self.search_engine = search_engine
self.mail_sender = mail_sender
diff --git a/service/pixelated/config/services.py b/service/pixelated/config/services.py
index c20db10d..2b739acd 100644
--- a/service/pixelated/config/services.py
+++ b/service/pixelated/config/services.py
@@ -69,6 +69,7 @@ class Services(object):
defer.returnValue(MailService(
pixelated_mailboxes,
pixelated_mail_sender,
+ leap_session.mail_store,
soledad_querier,
search_engine))