mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-12 06:08:25 -05:00
Fixes Issue 1832
If the message isn't worth showing immediately, it is not worth saving! (Don't save a message unless we get at least a non-null subject and non-null sender during first pass sync.)
This commit is contained in:
parent
fc55c54db0
commit
3c146c5a7f
@ -1515,13 +1515,6 @@ public class MessagingController implements Runnable
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// Store the new message locally
|
||||
localFolder.appendMessages(new Message[]
|
||||
{
|
||||
message
|
||||
});
|
||||
|
||||
if (message.getSize() > (MAX_SMALL_MESSAGE_SIZE))
|
||||
{
|
||||
largeMessages.add(message);
|
||||
@ -1543,6 +1536,12 @@ public class MessagingController implements Runnable
|
||||
*/
|
||||
if (isMessageSuppressed(account, folder, message) == false)
|
||||
{
|
||||
// Store the new message locally
|
||||
localFolder.appendMessages(new Message[]
|
||||
{
|
||||
message
|
||||
});
|
||||
|
||||
Message localMessage = localFolder.getMessage(message.getUid());
|
||||
syncFlags(localMessage, message);
|
||||
if (K9.DEBUG)
|
||||
|
Loading…
Reference in New Issue
Block a user