aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_summary
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-12-17 13:15:53 +0100
committerfiaxh <git@mx.ax.lt>2017-12-30 13:10:06 +0100
commit8cbc4e7f892e08cc18552e6a41fc752c22e082ba (patch)
treedeb14de2e5bac14f111d8148e46f641a97dd43fc /main/src/ui/conversation_summary
parentb4bb0912fc328bc44b13e190f59b347eb5d4310a (diff)
downloaddino-8cbc4e7f892e08cc18552e6a41fc752c22e082ba.tar.gz
dino-8cbc4e7f892e08cc18552e6a41fc752c22e082ba.zip
Clear chat states on own/contact disconnect
fixes #197
Diffstat (limited to 'main/src/ui/conversation_summary')
-rw-r--r--main/src/ui/conversation_summary/default_file_display.vala1
1 files changed, 0 insertions, 1 deletions
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);