mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 22:51:02 +00:00
Fixed crash
This commit is contained in:
parent
bb02347e86
commit
24e289a903
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ public class MessageHelper {
|
|||
} else {
|
||||
// https://datatracker.ietf.org/doc/html/rfc2822#section-3.6.6
|
||||
ByteArrayInputStream bis = new ByteArrayInputStream(message.headers.getBytes());
|
||||
List<Header> headers = Collections.list(new InternetHeaders(bis, identity.unicode).getAllHeaders());
|
||||
List<Header> headers = Collections.list(new InternetHeaders(bis, identity != null && identity.unicode).getAllHeaders());
|
||||
|
||||
for (Header header : headers)
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue