summaryrefslogtreecommitdiff
path: root/src/leap/mail/adaptors/soledad_indexes.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-01-22 14:02:28 -0400
committerKali Kaneko <kali@leap.se>2015-02-11 14:05:43 -0400
commit66adeda5603aa5a1a29f027bfe6a8536c488ac97 (patch)
tree510d31aeffda5bb560167edea54c8762db339db2 /src/leap/mail/adaptors/soledad_indexes.py
parentd586ea252e187e811cd2851522cdfab74428fd75 (diff)
Fix recent/unseen notifications
Diffstat (limited to 'src/leap/mail/adaptors/soledad_indexes.py')
-rw-r--r--src/leap/mail/adaptors/soledad_indexes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/mail/adaptors/soledad_indexes.py b/src/leap/mail/adaptors/soledad_indexes.py
index 856dfb4..d2f8b71 100644
--- a/src/leap/mail/adaptors/soledad_indexes.py
+++ b/src/leap/mail/adaptors/soledad_indexes.py
@@ -51,7 +51,7 @@ TYPE_MBOX_UUID_IDX = 'by-type-and-mbox-uuid'
TYPE_SUBS_IDX = 'by-type-and-subscribed'
TYPE_MSGID_IDX = 'by-type-and-message-id'
TYPE_MBOX_SEEN_IDX = 'by-type-and-mbox-and-seen'
-TYPE_MBOX_RECT_IDX = 'by-type-and-mbox-and-recent'
+TYPE_MBOX_RECENT_IDX = 'by-type-and-mbox-and-recent'
TYPE_MBOX_DEL_IDX = 'by-type-and-mbox-and-deleted'
TYPE_MBOX_C_HASH_IDX = 'by-type-and-mbox-and-contenthash'
TYPE_C_HASH_IDX = 'by-type-and-contenthash'
@@ -97,7 +97,7 @@ MAIL_INDEXES = {
# messages
TYPE_MBOX_SEEN_IDX: [TYPE, MBOX_UUID, 'bool(seen)'],
- TYPE_MBOX_RECT_IDX: [TYPE, MBOX_UUID, 'bool(recent)'],
+ TYPE_MBOX_RECENT_IDX: [TYPE, MBOX_UUID, 'bool(recent)'],
TYPE_MBOX_DEL_IDX: [TYPE, MBOX_UUID, 'bool(deleted)'],
# incoming queue