summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-12-20 17:06:57 -0400
committerKali Kaneko <kali@leap.se>2013-12-20 17:06:57 -0400
commitaaedde4a6a04a77e06a332e1ab917afd60f72205 (patch)
treea7531d07bc71eb3e8968a75bb6e5db7cc1122973
parent34bcd4d07c8c099f2a089133ad88e179d94865c3 (diff)
fix wrong object call
-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 d92ab9d..5672e25 100644
--- a/src/leap/mail/imap/server.py
+++ b/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.