mirror of https://github.com/M66B/FairEmail.git
Fixed showing sender warning when from self
This commit is contained in:
parent
5fe3524f37
commit
0f220b2d65
|
@ -964,7 +964,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
if (message.to != null) {
|
||||
String v = MessageHelper.canonicalAddress(via.getAddress());
|
||||
for (Address t : message.to) {
|
||||
if (v.equals(MessageHelper.canonicalAddress(((InternetAddress) t).getAddress()))) {
|
||||
if (EntityFolder.isOutgoing(message.folderType) ||
|
||||
v.equals(MessageHelper.canonicalAddress(((InternetAddress) t).getAddress()))) {
|
||||
self = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue