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/omemo/src/file_provider.vala | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins/omemo/src') diff --git a/plugins/omemo/src/file_provider.vala b/plugins/omemo/src/file_provider.vala index 0e11c8f4..49b42e92 100644 --- a/plugins/omemo/src/file_provider.vala +++ b/plugins/omemo/src/file_provider.vala @@ -58,7 +58,6 @@ public class FileProvider : Dino.FileProvider, Object { file_transfer.local_time = message.local_time; file_transfer.direction = message.direction; file_transfer.file_name = url_without_hash.substring(url_without_hash.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