summaryrefslogtreecommitdiff
path: root/src/leap/mail/sync_hooks.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-05-28 19:03:24 -0400
committerKali Kaneko <kali@leap.se>2015-06-05 16:50:46 -0400
commit4c12d05d063d42171808c432bee90de67c4042b6 (patch)
tree7839f7e8cf9f9ac941008f71443c73d168f718ac /src/leap/mail/sync_hooks.py
parent8915db2e1c1a339cf36ae0e28da627bb1a8e040e (diff)
[refactor] move hooks to account
Diffstat (limited to 'src/leap/mail/sync_hooks.py')
-rw-r--r--src/leap/mail/sync_hooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/sync_hooks.py b/src/leap/mail/sync_hooks.py
index b5bded5..3cf858b 100644
--- a/src/leap/mail/sync_hooks.py
+++ b/src/leap/mail/sync_hooks.py
@@ -75,7 +75,7 @@ class MailProcessingPostSyncHook(object):
self._pending_docs.append(doc_id)
def _make_uid_index(self, mdoc_id):
- indexer = self._account.account.mbox_indexer
+ indexer = self._account.mbox_indexer
mbox_uuid = _get_mbox_uuid(mdoc_id)
if mbox_uuid:
chash = _get_chash_from_mdoc(mdoc_id)