summaryrefslogtreecommitdiff
path: root/service/pixelated/config
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2015-02-03 17:17:14 -0200
committerDuda Dornelles <ddornell@thoughtworks.com>2015-02-03 17:17:14 -0200
commit543e43ce85bb5d8863dbbf2a458af92d21b018cf (patch)
tree9f2abc8b4a388c48a3e8a537a009c34c12966dd1 /service/pixelated/config
parentab571c6985a4ef68bade13c2bb2e42a2f014e994 (diff)
Moving mails_resouce render_GET logic to mail_service
Diffstat (limited to 'service/pixelated/config')
-rw-r--r--service/pixelated/config/app_factory.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/service/pixelated/config/app_factory.py b/service/pixelated/config/app_factory.py
index f2810e08..9937c65b 100644
--- a/service/pixelated/config/app_factory.py
+++ b/service/pixelated/config/app_factory.py
@@ -105,7 +105,7 @@ def init_app(app, leap_home, leap_session):
pixelated_mailboxes = Mailboxes(leap_session.account, soledad_querier)
draft_service = DraftService(pixelated_mailboxes)
- mail_service = MailService(pixelated_mailboxes, pixelated_mail_sender, tag_service, soledad_querier)
+ mail_service = MailService(pixelated_mailboxes, pixelated_mail_sender, tag_service, soledad_querier, search_engine)
MailboxIndexerListener.SEARCH_ENGINE = search_engine
InputMail.FROM_EMAIL_ADDRESS = leap_session.account_email()
@@ -148,7 +148,6 @@ def _ssl_options(args):
acceptableCiphers=acceptable)
return options
-
def listen_with_ssl(app, args):
reactor.listenSSL(args.port, Site(app.resource), _ssl_options(args), interface=args.host)