diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2015-09-01 20:21:22 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2015-09-01 20:21:22 -0300 |
commit | 503c917ede122fc97046e35af8ec30a25adbad32 (patch) | |
tree | a1a833028d24fc50f7e4191985f783c23e24acfc /service/pixelated/config | |
parent | 5bb258cbfdda64dcaa2cdd4c907ae6def4e37e66 (diff) |
[bug] set from mail address as first step
This is needed while indexing mail and other logic can use it. Setting
it as soon as it is possible.
Diffstat (limited to 'service/pixelated/config')
-rw-r--r-- | service/pixelated/config/services.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/config/services.py b/service/pixelated/config/services.py index 4637a6f9..092d3e9a 100644 --- a/service/pixelated/config/services.py +++ b/service/pixelated/config/services.py @@ -16,6 +16,7 @@ class Services(object): @defer.inlineCallbacks def setup(self, leap_home, leap_session): + InputMail.FROM_EMAIL_ADDRESS = leap_session.account_email() soledad_querier = SoledadQuerier(soledad=leap_session.soledad_session.soledad) @@ -46,7 +47,6 @@ class Services(object): mails=(yield self.mail_service.all_mails())) # yield soledad_querier.mark_all_as_not_recent() # yield soledad_querier.remove_duplicates() - InputMail.FROM_EMAIL_ADDRESS = leap_session.account_email() @defer.inlineCallbacks def setup_search_engine(self, leap_home, soledad_querier): |