diff options
Diffstat (limited to 'libdino/src/service/file_manager.vala')
-rw-r--r-- | libdino/src/service/file_manager.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdino/src/service/file_manager.vala b/libdino/src/service/file_manager.vala index f3256601..19d51b44 100644 --- a/libdino/src/service/file_manager.vala +++ b/libdino/src/service/file_manager.vala @@ -69,7 +69,7 @@ public class FileManager : StreamInteractionModule, Object { yield save_file(file_transfer); - file_transfer.persist(db); + stream_interactor.get_module(FileTransferStorage.IDENTITY).add_file(file_transfer); conversation.last_active = file_transfer.time; received_file(file_transfer, conversation); } catch (Error e) { @@ -281,7 +281,7 @@ public class FileManager : StreamInteractionModule, Object { } } - file_transfer.persist(db); + stream_interactor.get_module(FileTransferStorage.IDENTITY).add_file(file_transfer); if (is_sender_trustworthy(file_transfer, conversation)) { try { |