1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-04 22:40:32 +00:00

Prevent crash

This commit is contained in:
M66B 2021-12-20 07:29:06 +01:00
parent de158337f9
commit d38575caae

View file

@ -5558,7 +5558,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
// Check headers for resend
for (TupleMessageEx message : messages) {
if (message.headers == null)
if (message == null || message.headers == null)
continue;
boolean resend = iProperties.getValue("resend", message.id);
if (!resend)