mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 19:34:15 +01:00
Fixed total size without attachments
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user