mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
a97e189263
commit
583a82051e
|
@ -2397,7 +2397,7 @@ public class HtmlHelper {
|
|||
|
||||
ByteArrayInputStream bis = new ByteArrayInputStream(headers.getBytes());
|
||||
String[] received = new InternetHeaders(bis).getHeader("Received");
|
||||
if (received.length > 0) {
|
||||
if (received != null && received.length > 0) {
|
||||
ssb.append('\n');
|
||||
for (int i = received.length - 1; i >= 0; i--) {
|
||||
String h = MimeUtility.unfold(received[i]);
|
||||
|
|
Loading…
Reference in New Issue