diff options
author | fiaxh <git@lightrise.org> | 2018-12-29 19:15:25 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2018-12-31 16:49:22 +0100 |
commit | 446e86d4ad798655aa1a83aebc86f9f2431484df (patch) | |
tree | 85948047dcc223ad1ccf130f087fb8a2c2382a11 /plugins/http-files/src | |
parent | 420942873a595415d09c9a48b9950c214e77008b (diff) | |
download | dino-446e86d4ad798655aa1a83aebc86f9f2431484df.tar.gz dino-446e86d4ad798655aa1a83aebc86f9f2431484df.zip |
Check FileTransfer's mime_type for null (unknown) when handeling it
fixes #479
Diffstat (limited to 'plugins/http-files/src')
-rw-r--r-- | plugins/http-files/src/file_provider.vala | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/http-files/src/file_provider.vala b/plugins/http-files/src/file_provider.vala index 82ccc710..553068cc 100644 --- a/plugins/http-files/src/file_provider.vala +++ b/plugins/http-files/src/file_provider.vala @@ -56,7 +56,6 @@ public class FileProvider : Dino.FileProvider, Object { file_transfer.local_time = message.local_time; file_transfer.direction = message.direction; file_transfer.file_name = message.body.substring(message.body.last_index_of("/") + 1); - file_transfer.mime_type = null; file_transfer.size = -1; file_transfer.state = FileTransfer.State.NOT_STARTED; file_transfer.provider = 0; |