From 446e86d4ad798655aa1a83aebc86f9f2431484df Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sat, 29 Dec 2018 19:15:25 +0100 Subject: Check FileTransfer's mime_type for null (unknown) when handeling it fixes #479 --- plugins/http-files/src/file_provider.vala | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins/http-files/src') 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; -- cgit v1.2.3-70-g09d2