From 093a895c3f58b2783062f13dec75afec7a7db5c2 Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Mon, 28 Feb 2011 06:44:37 +0000 Subject: [PATCH] Very bad idea to not add kDeleted flagged mails to the message list since the position in the list is used as a message id. The result was that the server synced the wrong messages. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40735 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../inbound_protocols/imap/imap_lib/IMAPHandler.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/IMAPHandler.cpp b/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/IMAPHandler.cpp index 15e0ab1af8..0fcbb454ce 100644 --- a/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/IMAPHandler.cpp +++ b/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/IMAPHandler.cpp @@ -208,9 +208,6 @@ FetchMinMessageCommand::Handle(const BString& response) if (!ParseMinMessage(extracted, minMessage)) return false; - if ((minMessage.flags & kDeleted) != 0) - return true; - fMinMessageList->push_back(minMessage); fStorage.AddNewMessage(minMessage.uid, minMessage.flags, fData); return true; @@ -294,9 +291,6 @@ FetchMessageListCommand::Handle(const BString& response) if (!FetchMinMessageCommand::ParseMinMessage(extracted, minMessage)) return false; - if ((minMessage.flags & kDeleted) != 0) - return true; - fMinMessageList->push_back(minMessage); return true; }