diff options
author | fiaxh <git@lightrise.org> | 2018-11-27 14:57:52 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2018-11-27 15:02:18 +0100 |
commit | 141db9e40a3a81cfa3ad3587dc47f69c541d0fde (patch) | |
tree | af02d0049c24abcdbf7b15f1c1037114319c7d73 /libdino/src | |
parent | 01360a73ae8a148ca19c75e3b11167965b887d8b (diff) | |
download | dino-141db9e40a3a81cfa3ad3587dc47f69c541d0fde.tar.gz dino-141db9e40a3a81cfa3ad3587dc47f69c541d0fde.zip |
Implement aesgcm encrypted file upload
Diffstat (limited to 'libdino/src')
-rw-r--r-- | libdino/src/service/file_manager.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/service/file_manager.vala b/libdino/src/service/file_manager.vala index b35a4e09..8e76af30 100644 --- a/libdino/src/service/file_manager.vala +++ b/libdino/src/service/file_manager.vala @@ -42,7 +42,7 @@ public class FileManager : StreamInteractionModule, Object { file_transfer.direction = FileTransfer.DIRECTION_SENT; file_transfer.time = new DateTime.now_utc(); file_transfer.local_time = new DateTime.now_utc(); - file_transfer.encryption = Encryption.NONE; + file_transfer.encryption = conversation.encryption; try { File file = File.new_for_path(uri); FileInfo file_info = file.query_info("*", FileQueryInfoFlags.NONE); |