Skip media for junk messages

pull/216/head
M66B 3 months ago
parent deb35ff5f6
commit 924994fe30

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

Loading…
Cancel
Save