summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-12-20 19:20:50 -0300
committerTomás Touceda <chiiph@leap.se>2013-12-20 19:20:50 -0300
commit8d4e17a279218de99b495955e96672587cb237e7 (patch)
tree570a26068375713f79fc1747bb5fbb69687c5bf6 /src/leap/mail/imap
parentef5b6b3fd04ba121bef04895e329ff9d98651da2 (diff)
Limit the size of the returned messages from IMAP to MUA to 100
Diffstat (limited to 'src/leap/mail/imap')
-rw-r--r--src/leap/mail/imap/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/imap/server.py b/src/leap/mail/imap/server.py
index 5672e25..2739f8c 100644
--- a/src/leap/mail/imap/server.py
+++ b/src/leap/mail/imap/server.py
@@ -1675,7 +1675,7 @@ class SoledadMailbox(WithMsgFields):
if self.isWriteable():
self._unset_recent_flag()
- return tuple(result)
+ return tuple(result[:100])
def _unset_recent_flag(self):
"""