summaryrefslogtreecommitdiff
path: root/src/leap/mail
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-01-29 16:19:37 -0400
committerKali Kaneko <kali@leap.se>2014-01-30 14:20:56 -0400
commitbd06be63eac85a29e32768e55ab52a46043f3493 (patch)
treea1c702db5f31304cd50d5838f2add061734e8adf /src/leap/mail
parent37090301e633cdf9aa0c924ea3899d4c5d4fcdb9 (diff)
Fix UIDVALIDITY command.
thanks to evolution for complaining about this.
Diffstat (limited to 'src/leap/mail')
-rw-r--r--src/leap/mail/imap/mailbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/imap/mailbox.py b/src/leap/mail/imap/mailbox.py
index 3a6937f..2d1ab88 100644
--- a/src/leap/mail/imap/mailbox.py
+++ b/src/leap/mail/imap/mailbox.py
@@ -366,7 +366,7 @@ class SoledadMailbox(WithMsgFields, MBoxParser):
if self.CMD_UIDNEXT in names:
r[self.CMD_UIDNEXT] = self.last_uid + 1
if self.CMD_UIDVALIDITY in names:
- r[self.CMD_UIDVALIDITY] = self.getUID()
+ r[self.CMD_UIDVALIDITY] = self.getUIDValidity()
if self.CMD_UNSEEN in names:
r[self.CMD_UNSEEN] = self.getUnseenCount()
return defer.succeed(r)