|
|
@ -3543,8 +3543,10 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
if (attachment.available) {
|
|
|
|
if (attachment.available) {
|
|
|
|
if (!attachment.isEncryption())
|
|
|
|
if (!attachment.isEncryption())
|
|
|
|
last_available++;
|
|
|
|
last_available++;
|
|
|
|
} else
|
|
|
|
} else {
|
|
|
|
EntityOperation.queue(context, data.draft, EntityOperation.ATTACHMENT, attachment.id);
|
|
|
|
if (attachment.progress == null)
|
|
|
|
|
|
|
|
EntityOperation.queue(context, data.draft, EntityOperation.ATTACHMENT, attachment.id);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
db.setTransactionSuccessful();
|
|
|
|
db.setTransactionSuccessful();
|
|
|
|
} finally {
|
|
|
|
} finally {
|
|
|
|