diff options
author | fiaxh <git@lightrise.org> | 2019-08-21 19:31:46 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-08-21 22:37:52 +0200 |
commit | 0521afa3d828ea0dfc79e6c5c76697e2a3a270c0 (patch) | |
tree | b7d64f2b2e13d01c81621962816d90e8b8e279ca /plugins/omemo | |
parent | 3ad2891eb80d9381fed8547d6429904120af1f3e (diff) | |
download | dino-0521afa3d828ea0dfc79e6c5c76697e2a3a270c0.tar.gz dino-0521afa3d828ea0dfc79e6c5c76697e2a3a270c0.zip |
Fix specified size for encrypted file uploads
Diffstat (limited to 'plugins/omemo')
-rw-r--r-- | plugins/omemo/src/file_transfer/file_decryptor.vala | 2 |
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); |