make sure search results aren't updated incorrectly on incoming messages

This commit is contained in:
Jesse Vincent 2009-12-27 17:22:38 +00:00
parent bfaba499fe
commit 0a2d9b9c9f

View file

@ -1574,7 +1574,11 @@ public class MessageList
@Override
public void synchronizeMailboxAddOrUpdateMessage(Account account, String folder, Message message)
{
addOrUpdateMessage(account, folder, message);
// eventually, we may want to check a message added during sync against the query filter
if( mQueryString == null )
{
addOrUpdateMessage(account, folder, message);
}
}