aboutsummaryrefslogtreecommitdiff
path: root/libdino/src
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2018-11-27 14:57:52 +0100
committerfiaxh <git@lightrise.org>2018-11-27 15:02:18 +0100
commit141db9e40a3a81cfa3ad3587dc47f69c541d0fde (patch)
treeaf02d0049c24abcdbf7b15f1c1037114319c7d73 /libdino/src
parent01360a73ae8a148ca19c75e3b11167965b887d8b (diff)
downloaddino-141db9e40a3a81cfa3ad3587dc47f69c541d0fde.tar.gz
dino-141db9e40a3a81cfa3ad3587dc47f69c541d0fde.zip
Implement aesgcm encrypted file upload
Diffstat (limited to 'libdino/src')
-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 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);