|
|
@ -6429,6 +6429,7 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
rvAttachment.setTag(downloading);
|
|
|
|
rvAttachment.setTag(downloading);
|
|
|
|
checkInternet();
|
|
|
|
checkInternet();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
boolean updated = false;
|
|
|
|
boolean updated = false;
|
|
|
|
Editable edit = etBody.getEditableText();
|
|
|
|
Editable edit = etBody.getEditableText();
|
|
|
|
ImageSpan[] spans = edit.getSpans(0, edit.length(), ImageSpan.class);
|
|
|
|
ImageSpan[] spans = edit.getSpans(0, edit.length(), ImageSpan.class);
|
|
|
@ -6514,6 +6515,9 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
map.clear();
|
|
|
|
map.clear();
|
|
|
|
for (EntityAttachment attachment : attachments)
|
|
|
|
for (EntityAttachment attachment : attachments)
|
|
|
|
map.put(attachment.id, attachment);
|
|
|
|
map.put(attachment.id, attachment);
|
|
|
|
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
|
|
|
|
Log.e(ex);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|