diff options
author | Christian Schneppe <christian.schneppe@pix-art.de> | 2020-03-16 21:30:00 +0100 |
---|---|---|
committer | Christian Schneppe <christian.schneppe@pix-art.de> | 2020-03-16 21:30:00 +0100 |
commit | 7fa19f4f8c424fb68d4248aee9862dc00c4dc670 (patch) | |
tree | b54856748667adc303001b8380c76575e0aba536 | |
parent | 885f22f806a93d2e66e6c8d3aa6f0cb219e44079 (diff) |
update Conversation and log filename on restoring orphaned files
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java index 010c0d290..f85670ec0 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java @@ -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) { |