Check submitter for outgoing

pull/214/head
M66B 1 year ago
parent 354335f2fd
commit dd9ced7c05

@ -4264,6 +4264,11 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (message.identityEmail.equalsIgnoreCase(((InternetAddress) from).getAddress())) if (message.identityEmail.equalsIgnoreCase(((InternetAddress) from).getAddress()))
return true; return true;
if (message.submitter != null)
for (Address submitter : message.submitter)
if (message.identityEmail.equalsIgnoreCase(((InternetAddress) submitter).getAddress()))
return true;
return false; return false;
} }
} }

Loading…
Cancel
Save