Browse code

BM-14972 Fix: displays attachment in pf

David Phan authored on 21/06/2019 13:16:36
Showing 1 changed files
... ...
@@ -178,7 +178,7 @@ public class IndexedMessageBody {
178 178
 			data.put("filename", bodyData.filenames);
179 179
 		}
180 180
 
181
-		if (body.structure.hasRealAttachments()) {
181
+		if (!body.structure.nonInlineAttachments().isEmpty()) {
182 182
 			hasProps.add("attachments");
183 183
 		}
184 184
 		data.put("has", hasProps);