update Conversation and log filename on restoring orphaned files
This commit is contained in:
parent
885f22f806
commit
7fa19f4f8c
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue