aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/ui
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-12-04 19:11:27 +0100
committerfiaxh <git@lightrise.org>2020-12-04 19:11:27 +0100
commitcc01374d3cb6a8bf477e8f96378f20b9aff57536 (patch)
tree16275a127a84d9dc5aa1269aef7590d8fd8ea73d /plugins/omemo/src/ui
parentf31e96d6bb51448a87edd820ebca630ca576d890 (diff)
downloaddino-cc01374d3cb6a8bf477e8f96378f20b9aff57536.tar.gz
dino-cc01374d3cb6a8bf477e8f96378f20b9aff57536.zip
Use advertized/server/live time for sorting instead of arrival time
fixes #310
Diffstat (limited to 'plugins/omemo/src/ui')
-rw-r--r--plugins/omemo/src/ui/bad_messages_populator.vala4
1 files changed, 1 insertions, 3 deletions
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;
}