mirror of https://github.com/M66B/FairEmail.git
Fixed total size without attachments
This commit is contained in:
parent
136dce919e
commit
c63bc01887
|
@ -401,7 +401,7 @@ public class ServiceSend extends ServiceBase {
|
|||
if (body != null)
|
||||
size = (long) body.length();
|
||||
|
||||
Long total = null;
|
||||
Long total = size;
|
||||
List<EntityAttachment> attachments = db.attachment().getAttachments(message.id);
|
||||
for (EntityAttachment attachment : attachments)
|
||||
if (attachment.size != null)
|
||||
|
|
Loading…
Reference in New Issue