diff options
author | Kali Kaneko <kali@leap.se> | 2014-09-03 18:21:16 -0500 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-09-03 19:05:41 -0500 |
commit | 2317b06394e415c69de51940f0eec33fcb7fdc97 (patch) | |
tree | 3db288ffb0996f25506c5be88d43ad73521f8c66 /src/leap | |
parent | 915f0096215a98a33b599c11855f33adeb0bd851 (diff) |
remove uid from signature
Diffstat (limited to 'src/leap')
-rw-r--r-- | src/leap/mail/imap/messages.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/leap/mail/imap/messages.py b/src/leap/mail/imap/messages.py index 4e8e1a3..0356600 100644 --- a/src/leap/mail/imap/messages.py +++ b/src/leap/mail/imap/messages.py @@ -864,7 +864,7 @@ class MessageCollection(WithMsgFields, IndexedDB, MBoxParser): else: return False - def add_msg(self, raw, subject=None, flags=None, date=None, uid=None, + def add_msg(self, raw, subject=None, flags=None, date=None, notify_on_disk=False): """ Creates a new message document. @@ -881,9 +881,6 @@ class MessageCollection(WithMsgFields, IndexedDB, MBoxParser): :param date: the received date for the message :type date: str - :param uid: the message uid for this mailbox - :type uid: int - :return: a deferred that will be fired with the message uid when the adding succeed. :rtype: deferred @@ -933,6 +930,7 @@ class MessageCollection(WithMsgFields, IndexedDB, MBoxParser): msg.setFlags((fields.DELETED_FLAG,), -1) return + # XXX get FUCKING UID from autoincremental table uid = self.memstore.increment_last_soledad_uid(self.mbox) # We can say the observer that we're done at this point, but |