mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 02:50:56 +01:00
Fixed crash
This commit is contained in:
@@ -515,8 +515,8 @@ public class MessageHelper {
|
||||
return subject;
|
||||
}
|
||||
|
||||
Integer getSize() throws MessagingException {
|
||||
int size = imessage.getSize();
|
||||
Long getSize() throws MessagingException {
|
||||
long size = imessage.getSize();
|
||||
if (size == 0)
|
||||
throw new MessagingException("Message empty");
|
||||
return (size < 0 ? null : size);
|
||||
|
||||
Reference in New Issue
Block a user