mirror of https://github.com/M66B/FairEmail.git
Fallback to attachment type and size
This commit is contained in:
parent
8e2e980f47
commit
ed29c0776c
|
@ -899,8 +899,7 @@ public class MessageHelper {
|
|||
if (index < 0)
|
||||
for (int i = 0; i < remotes.size(); i++) {
|
||||
EntityAttachment remote = remotes.get(i);
|
||||
if (remote.name == null && remote.cid == null &&
|
||||
Objects.equals(remote.type, local.type) &&
|
||||
if (Objects.equals(remote.type, local.type) &&
|
||||
Objects.equals(remote.size, local.size)) {
|
||||
index = i;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue