aboutsummaryrefslogtreecommitdiff
path: root/plugins/http-files
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-09-02 16:47:41 +0200
committerfiaxh <git@lightrise.org>2020-09-07 15:14:29 +0200
commit49bcbdaa517e5d6f8d4860db70ae0a9960e2c519 (patch)
tree7275f69dc7ef36022eace7cfbc0bb7f66be60824 /plugins/http-files
parente327a88898a90543f1de851274274139642c9a21 (diff)
downloaddino-49bcbdaa517e5d6f8d4860db70ae0a9960e2c519.tar.gz
dino-49bcbdaa517e5d6f8d4860db70ae0a9960e2c519.zip
Fix initial file encryption displaying
fixes #831
Diffstat (limited to 'plugins/http-files')
-rw-r--r--plugins/http-files/src/file_provider.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/http-files/src/file_provider.vala b/plugins/http-files/src/file_provider.vala
index 715f3e62..fd952b6b 100644
--- a/plugins/http-files/src/file_provider.vala
+++ b/plugins/http-files/src/file_provider.vala
@@ -92,6 +92,10 @@ public class FileProvider : Dino.FileProvider, Object {
return file_meta;
}
+ public Encryption get_encryption(FileTransfer file_transfer, FileReceiveData receive_data, FileMeta file_meta) {
+ return Encryption.NONE;
+ }
+
public async InputStream download(FileTransfer file_transfer, FileReceiveData receive_data, FileMeta file_meta) throws FileReceiveError {
HttpFileReceiveData? http_receive_data = receive_data as HttpFileReceiveData;
if (http_receive_data == null) assert(false);