mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 18:11:03 +01:00
Small improvement
This commit is contained in:
@@ -2665,7 +2665,6 @@ public class FragmentCompose extends FragmentBase {
|
||||
draft.bcc = abcc;
|
||||
draft.subject = subject;
|
||||
draft.encrypt = encrypt;
|
||||
draft.received = new Date().getTime();
|
||||
draft.sender = MessageHelper.getSortKey(draft.from);
|
||||
Uri lookupUri = ContactInfo.getLookupUri(context, draft.from);
|
||||
draft.avatar = (lookupUri == null ? null : lookupUri.toString());
|
||||
@@ -2725,6 +2724,11 @@ public class FragmentCompose extends FragmentBase {
|
||||
}
|
||||
}
|
||||
|
||||
if (dirty) {
|
||||
draft.received = new Date().getTime();
|
||||
db.message().setMessageReceived(draft.id, draft.received);
|
||||
}
|
||||
|
||||
// Remove unused inline images
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(body);
|
||||
|
||||
Reference in New Issue
Block a user