mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
de158337f9
commit
d38575caae
|
@ -5558,7 +5558,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
|
|
||||||
// Check headers for resend
|
// Check headers for resend
|
||||||
for (TupleMessageEx message : messages) {
|
for (TupleMessageEx message : messages) {
|
||||||
if (message.headers == null)
|
if (message == null || message.headers == null)
|
||||||
continue;
|
continue;
|
||||||
boolean resend = iProperties.getValue("resend", message.id);
|
boolean resend = iProperties.getValue("resend", message.id);
|
||||||
if (!resend)
|
if (!resend)
|
||||||
|
|
Loading…
Reference in New Issue