Get attachment mimetype

This commit is contained in:
M66B
2020-10-27 18:38:23 +01:00
parent 4faf5ad9bc
commit 3b8574b2ca
2 changed files with 4 additions and 4 deletions

View File

@@ -214,7 +214,7 @@ public class EntityRule {
boolean found = false;
for (EntityAttachment attachment : attachments)
if (mimeType.equalsIgnoreCase(attachment.type)) {
if (mimeType.equalsIgnoreCase(attachment.getMimeType())) {
found = true;
break;
}