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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user