From 03783a9ac883790168639006fd68e7bca65e2782 Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Fri, 4 Feb 2022 16:16:11 -0800 Subject: [PATCH] Sort conversations by active_at Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> --- ts/models/conversations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/models/conversations.ts b/ts/models/conversations.ts index a87766888..8e3121b68 100644 --- a/ts/models/conversations.ts +++ b/ts/models/conversations.ts @@ -5472,7 +5472,7 @@ window.Whisper.ConversationCollection = window.Backbone.Collection.extend({ }, comparator(m: WhatIsThis) { - return -m.get('timestamp'); + return -(m.get('active_at') || 0); }, });