Prevent crash

This commit is contained in:
M66B 2021-12-20 07:29:06 +01:00
parent de158337f9
commit d38575caae
1 changed files with 1 additions and 1 deletions

View File

@ -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)