summaryrefslogtreecommitdiff
path: root/mail/src/leap
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
commit1d4d46445708c28bff364158300ef36eca0c10e3 (patch)
treeb368492bc9e42415f9fab3e13f143695afaa3609 /mail/src/leap
parent9b069df038d1cf1b1cea2e3f2960464b708b0d76 (diff)
Limit the size of the returned messages from IMAP to MUA to 100
Diffstat (limited to 'mail/src/leap')
-rw-r--r--mail/src/leap/mail/imap/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/src/leap/mail/imap/server.py b/mail/src/leap/mail/imap/server.py
index 5672e258..2739f8c6 100644
--- a/mail/src/leap/mail/imap/server.py
+++ b/mail/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):
"""