aboutsummaryrefslogtreecommitdiff
path: root/libdino
diff options
context:
space:
mode:
Diffstat (limited to 'libdino')
-rw-r--r--libdino/src/service/file_manager.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/service/file_manager.vala b/libdino/src/service/file_manager.vala
index 54579a04..20540e6e 100644
--- a/libdino/src/service/file_manager.vala
+++ b/libdino/src/service/file_manager.vala
@@ -63,6 +63,7 @@ public class FileManager : StreamInteractionModule, Object {
yield save_file(file_transfer);
file_transfer.persist(db);
+ conversation.last_active = file_transfer.time;
received_file(file_transfer, conversation);
} catch (Error e) {
file_transfer.state = FileTransfer.State.FAILED;
@@ -113,7 +114,6 @@ public class FileManager : StreamInteractionModule, Object {
yield file_sender.send_file(conversation, file_transfer, file_send_data, file_meta);
- conversation.last_active = file_transfer.time;
} catch (Error e) {
warning("Send file error: %s", e.message);
file_transfer.state = FileTransfer.State.FAILED;