aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java3
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) {