Small improvement

This commit is contained in:
M66B 2019-04-05 10:27:38 +02:00
parent 75a14c898b
commit 6b823cf9af
2 changed files with 2 additions and 0 deletions

View File

@ -1623,6 +1623,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
} catch (IOException ex) {
Log.e(ex);
db.message().setMessageContent(message.id, false, null, null);
db.message().setMessageSize(message.id, null);
return null;
}

View File

@ -175,6 +175,7 @@ public class EntityOperation {
} catch (IOException ex) {
Log.e(ex);
db.message().setMessageContent(tmpid, false, null, null);
db.message().setMessageSize(message.id, null);
}
EntityAttachment.copy(context, message.id, tmpid);