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 | 50e5af5bf469f0af7eb202cfc077ac088d2478ad (patch) | |
tree | 6891cd7b9c34b62a7dc870ceb95c88962f8db211 /mail/src | |
parent | 36ed96cf948cc4e08fd6e53c7c864be3d5918cbd (diff) |
remove uid from signature
Diffstat (limited to 'mail/src')
-rw-r--r-- | mail/src/leap/mail/imap/messages.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/src/leap/mail/imap/messages.py b/mail/src/leap/mail/imap/messages.py index 4e8e1a3..0356600 100644 --- a/mail/src/leap/mail/imap/messages.py +++ b/mail/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 |