From 5b68ea69f72c0f5ceab211a74aef67d174981085 Mon Sep 17 00:00:00 2001 From: Vincent Date: Tue, 7 Jul 2020 13:21:03 +1000 Subject: [PATCH] revert activeAt position --- ts/state/selectors/conversations.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ts/state/selectors/conversations.ts b/ts/state/selectors/conversations.ts index af28d4f18..5b896ad6c 100644 --- a/ts/state/selectors/conversations.ts +++ b/ts/state/selectors/conversations.ts @@ -125,10 +125,6 @@ export const _getLeftPaneLists = ( continue; } - if (!conversation.activeAt) { - continue; - } - if (conversation.activeAt !== undefined) { allContacts.push(conversation); } @@ -137,6 +133,10 @@ export const _getLeftPaneLists = ( unreadCount += conversation.unreadCount; } + if (!conversation.activeAt) { + continue; + } + if (conversation.isArchived) { archivedConversations.push(conversation); } else {