From e37c6e68ecbbb505c382752cc85c2683fc995578 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Fri, 4 Feb 2022 11:01:09 -0800 Subject: [PATCH] Sort conversations by active_at --- 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 a87766888a..8e3121b68e 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); }, });