Fallback to attachment type and size

pull/162/head
M66B 5 years ago
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…
Cancel
Save