|
|
@ -3173,7 +3173,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
List<EntityAttachment> images = new ArrayList<>();
|
|
|
|
List<EntityAttachment> images = new ArrayList<>();
|
|
|
|
if (thumbnails && bind_extras)
|
|
|
|
if (thumbnails && bind_extras)
|
|
|
|
for (EntityAttachment attachment : attachments)
|
|
|
|
for (EntityAttachment attachment : attachments)
|
|
|
|
if (attachment.isAttachment() && attachment.isImage())
|
|
|
|
if (attachment.isAttachment() &&
|
|
|
|
|
|
|
|
(attachment.isImage() || "image/svg+xml".equals(attachment.getMimeType())))
|
|
|
|
images.add(attachment);
|
|
|
|
images.add(attachment);
|
|
|
|
adapterImage.set(images);
|
|
|
|
adapterImage.set(images);
|
|
|
|
grpImages.setVisibility(images.size() > 0 ? View.VISIBLE : View.GONE);
|
|
|
|
grpImages.setVisibility(images.size() > 0 ? View.VISIBLE : View.GONE);
|
|
|
|