Prevent NPE

pull/209/head
M66B 2 years ago
parent 683a300123
commit 19baa1e928

@ -377,6 +377,7 @@ public class EntityMessage implements Serializable {
DB db = DB.getInstance(context);
boolean notJunk = false;
if (from != null)
for (Address sender : from) {
String email = ((InternetAddress) sender).getAddress();
if (TextUtils.isEmpty(email))

Loading…
Cancel
Save