|
|
@ -1104,8 +1104,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
boolean calendar = false;
|
|
|
|
boolean calendar = false;
|
|
|
|
List<EntityAttachment> a = new ArrayList<>();
|
|
|
|
List<EntityAttachment> a = new ArrayList<>();
|
|
|
|
for (EntityAttachment attachment : attachments) {
|
|
|
|
for (EntityAttachment attachment : attachments) {
|
|
|
|
boolean inline = (TextUtils.isEmpty(attachment.name) ||
|
|
|
|
boolean inline = (attachment.isInline() || TextUtils.isEmpty(attachment.name));
|
|
|
|
(attachment.isInline() && attachment.isImage()));
|
|
|
|
|
|
|
|
if (inline)
|
|
|
|
if (inline)
|
|
|
|
has_inline = true;
|
|
|
|
has_inline = true;
|
|
|
|
if (attachment.progress == null && !attachment.available)
|
|
|
|
if (attachment.progress == null && !attachment.available)
|
|
|
|