summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d92ab9d..5672e25 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.