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)
|
if (index < 0)
|
||||||
for (int i = 0; i < remotes.size(); i++) {
|
for (int i = 0; i < remotes.size(); i++) {
|
||||||
EntityAttachment remote = remotes.get(i);
|
EntityAttachment remote = remotes.get(i);
|
||||||
if (remote.name == null && remote.cid == null &&
|
if (Objects.equals(remote.type, local.type) &&
|
||||||
Objects.equals(remote.type, local.type) &&
|
|
||||||
Objects.equals(remote.size, local.size)) {
|
Objects.equals(remote.size, local.size)) {
|
||||||
index = i;
|
index = i;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue