summaryrefslogtreecommitdiff
path: root/mail/src/leap
diff options
context:
space:
mode:
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 d92ab9da..5672e258 100644
--- a/mail/src/leap/mail/imap/server.py
+++ b/mail/src/leap/mail/imap/server.py
@@ -1431,7 +1431,7 @@ class SoledadMailbox(WithMsgFields):
mbox = self._get_mbox()
key = self.LAST_UID_KEY
- count = mbox.getMessageCount()
+ count = self.getMessageCount()
# XXX safety-catch. If we do get duplicates,
# we want to avoid further duplication.