From 8cbc4e7f892e08cc18552e6a41fc752c22e082ba Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sun, 17 Dec 2017 13:15:53 +0100 Subject: Clear chat states on own/contact disconnect fixes #197 --- main/src/ui/conversation_summary/default_file_display.vala | 1 - 1 file changed, 1 deletion(-) (limited to 'main/src') diff --git a/main/src/ui/conversation_summary/default_file_display.vala b/main/src/ui/conversation_summary/default_file_display.vala index 413871ca..c919b1dd 100644 --- a/main/src/ui/conversation_summary/default_file_display.vala +++ b/main/src/ui/conversation_summary/default_file_display.vala @@ -39,7 +39,6 @@ public class DefaultFileDisplay : Plugins.MetaConversationItem { public override Object? get_widget(Plugins.WidgetType widget_type) { Box main_box = new Box(Orientation.HORIZONTAL, 4) { halign=Align.START, visible=true }; - string? content_type = ContentType.from_mime_type(file_transfer.mime_type); string? icon_name = ContentType.get_generic_icon_name(file_transfer.mime_type); Image content_type_image = new Image.from_icon_name(icon_name, IconSize.DND) { visible=true }; main_box.add(content_type_image); -- cgit v1.2.3-70-g09d2