update Conversation and log filename on restoring orphaned files

This commit is contained in:
Christian Schneppe 2020-03-16 21:30:00 +01:00
parent 885f22f806
commit 7fa19f4f8c
No known key found for this signature in database
GPG key ID: F30B8D686B44D87E

View file

@ -1304,9 +1304,10 @@ public class MessageAdapter extends ArrayAdapter<Message> implements CopyTextVie
}
private void markFileExisting(Message message) {
Log.d(Config.LOGTAG, "Found and restored orphaned file");
Log.d(Config.LOGTAG, "Found and restored orphaned file " + message.getRelativeFilePath());
message.setFileDeleted(false);
activity.xmppConnectionService.updateMessage(message, false);
activity.xmppConnectionService.updateConversation((Conversation) message.getConversation());
}
private boolean checkFileExistence(Message message, View view, ViewHolder viewHolder) {