From cc01374d3cb6a8bf477e8f96378f20b9aff57536 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 4 Dec 2020 19:11:27 +0100 Subject: Use advertized/server/live time for sorting instead of arrival time fixes #310 --- plugins/omemo/src/ui/bad_messages_populator.vala | 4 +--- 1 file changed, 1 insertion(+), 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 4984cc6c..7b36c103 100644 --- a/plugins/omemo/src/ui/bad_messages_populator.vala +++ b/plugins/omemo/src/ui/bad_messages_populator.vala @@ -110,7 +110,6 @@ public class BadMessageItem : Plugins.MetaConversationItem { private Plugin plugin; private Conversation conversation; - private DateTime date; private Jid problem_jid; private BadnessType badness_type; @@ -118,8 +117,7 @@ public class BadMessageItem : Plugins.MetaConversationItem { this.plugin = plugin; this.conversation = conversation; this.problem_jid = jid; - this.date = date; - this.sort_time = date; + this.time = date; this.badness_type = badness_type; } -- cgit v1.2.3-70-g09d2