From 871ff33ac79f3d17b0260b8bfcd27780038edd6d Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 3 Apr 2020 22:49:59 +0200 Subject: Add support for last message correction --- plugins/omemo/src/ui/bad_messages_populator.vala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/omemo') diff --git a/plugins/omemo/src/ui/bad_messages_populator.vala b/plugins/omemo/src/ui/bad_messages_populator.vala index 4c72dece..9610d681 100644 --- a/plugins/omemo/src/ui/bad_messages_populator.vala +++ b/plugins/omemo/src/ui/bad_messages_populator.vala @@ -79,9 +79,6 @@ public class BadMessagesPopulator : Plugins.ConversationItemPopulator, Plugins.C } public class BadMessageItem : Plugins.MetaConversationItem { - public override bool can_merge { get; set; default=false; } - public override bool requires_avatar { get; set; default=false; } - public override bool requires_header { get; set; default=false; } private Plugin plugin; private Account account; @@ -101,6 +98,8 @@ public class BadMessageItem : Plugins.MetaConversationItem { public override Object? get_widget(Plugins.WidgetType widget_type) { return new BadMessagesWidget(plugin, account, problem_jid, badness_type); } + + public override Gee.List? get_item_actions(Plugins.WidgetType type) { return null; } } public class BadMessagesWidget : Box { -- cgit v1.2.3-70-g09d2