summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/server.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-01-23 13:32:01 -0400
committerKali Kaneko <kali@leap.se>2014-01-28 19:38:45 -0400
commitff28e22977db802c87f0b7be99e37c6de29183e9 (patch)
treec75bc293bc171cbc65dd494a8947057f306b8c96 /src/leap/mail/imap/server.py
parent0754dac293730b02942716991d5edc513c36ff7c (diff)
Unset new flag after successful write
Diffstat (limited to 'src/leap/mail/imap/server.py')
-rw-r--r--src/leap/mail/imap/server.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/mail/imap/server.py b/src/leap/mail/imap/server.py
index 8bd875b..c95a9be 100644
--- a/src/leap/mail/imap/server.py
+++ b/src/leap/mail/imap/server.py
@@ -196,4 +196,9 @@ class LeapIMAPServer(imap4.IMAP4Server):
"""
# TODO return the output of _memstore.is_writing
# XXX and that should return a deferred!
+
+ # XXX fake a delayed operation, to debug problem with messages getting
+ # back to the source mailbox...
+ import time
+ time.sleep(2)
return None