aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/file_transfer
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-08-21 19:31:46 +0200
committerfiaxh <git@lightrise.org>2019-08-21 22:37:52 +0200
commit0521afa3d828ea0dfc79e6c5c76697e2a3a270c0 (patch)
treeb7d64f2b2e13d01c81621962816d90e8b8e279ca /plugins/omemo/src/file_transfer
parent3ad2891eb80d9381fed8547d6429904120af1f3e (diff)
downloaddino-0521afa3d828ea0dfc79e6c5c76697e2a3a270c0.tar.gz
dino-0521afa3d828ea0dfc79e6c5c76697e2a3a270c0.zip
Fix specified size for encrypted file uploads
Diffstat (limited to 'plugins/omemo/src/file_transfer')
-rw-r--r--plugins/omemo/src/file_transfer/file_decryptor.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omemo/src/file_transfer/file_decryptor.vala b/plugins/omemo/src/file_transfer/file_decryptor.vala
index dcb65301..6998fef2 100644
--- a/plugins/omemo/src/file_transfer/file_decryptor.vala
+++ b/plugins/omemo/src/file_transfer/file_decryptor.vala
@@ -15,7 +15,7 @@ public class OmemoFileDecryptor : FileDecryptor, Object {
public FileReceiveData prepare_get_meta_info(Conversation conversation, FileTransfer file_transfer, FileReceiveData receive_data) {
HttpFileReceiveData? http_receive_data = receive_data as HttpFileReceiveData;
if (http_receive_data == null) assert(false);
-// if ((receive_data as OmemoHttpFileReceiveData) != null) return receive_data;
+ if ((receive_data as OmemoHttpFileReceiveData) != null) return receive_data;
var omemo_http_receive_data = new OmemoHttpFileReceiveData();
omemo_http_receive_data.url = aesgcm_to_https_link(http_receive_data.url);