1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-15 08:29:24 +00:00

Skip media for junk messages

This commit is contained in:
M66B 2024-08-30 07:36:22 +02:00
parent deb35ff5f6
commit 924994fe30

View file

@ -3804,7 +3804,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
int iavailable = 0;
List<EntityAttachment> media = new ArrayList<>();
if (thumbnails && bind_extras) {
if (thumbnails && !EntityFolder.JUNK.equals(message.folderType) && bind_extras) {
for (EntityAttachment attachment : attachments)
if ((pdf_preview && attachment.isPDF()) ||
(video_preview && attachment.isVideo()) ||