Small improvement

This commit is contained in:
M66B
2019-03-14 08:05:28 +00:00
parent 0c74aa4cfa
commit c4fa598fcf
3 changed files with 15 additions and 9 deletions

View File

@@ -1335,7 +1335,11 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
a.message = id;
a.sequence = ++sequence;
a.id = db.attachment().insertAttachment(a);
parts.downloadAttachment(context, index, a.id);
try {
parts.downloadAttachment(context, index, a.id);
} catch (Throwable ex) {
Log.e(ex);
}
}
db.message().setMessageStored(id, new Date().getTime());