summaryrefslogtreecommitdiff
path: root/mail/src/leap
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-01-08 21:39:27 -0400
committerKali Kaneko <kali@leap.se>2014-01-08 21:39:32 -0400
commite9714da72ba07e208f2912f86b72ca927b675451 (patch)
treea3da192cacb3b8c6cbeb8856e78866e1a8149ae4 /mail/src/leap
parentda9b210c4bd16d67b4b47b299df7913b2d2f1066 (diff)
handle all fetches as sequential
* this allows quick testing using telnet, and the use of other less sofisticated MUAs.
Diffstat (limited to 'mail/src/leap')
-rw-r--r--mail/src/leap/mail/imap/mailbox.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/src/leap/mail/imap/mailbox.py b/mail/src/leap/mail/imap/mailbox.py
index 1d76d4db..7c014901 100644
--- a/mail/src/leap/mail/imap/mailbox.py
+++ b/mail/src/leap/mail/imap/mailbox.py
@@ -479,11 +479,13 @@ class SoledadMailbox(WithMsgFields, MBoxParser):
"""
result = []
- # XXX DEBUG -------------
- print "getting uid", uid
- print "in mbox", self.mbox
+ # For the moment our UID is sequential, so we
+ # can treat them all the same.
+ # Change this to the flag that twisted expects when we
+ # switch to content-hash based index + local UID table.
- sequence = True if uid == 0 else False
+ sequence = False
+ #sequence = True if uid == 0 else False
if not messages.last:
try: