From 49183a83a76c9834466f40a32b4ab32f933cc82d Mon Sep 17 00:00:00 2001 From: Guilherme Gazzo Date: Thu, 25 Jun 2020 00:45:22 -0300 Subject: [PATCH] Regression: Fix wrong message grouping inside threads (#18039) --- app/ui-message/client/message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ui-message/client/message.js b/app/ui-message/client/message.js index 422e46562774..c6ace239d483 100644 --- a/app/ui-message/client/message.js +++ b/app/ui-message/client/message.js @@ -502,7 +502,7 @@ const isSequential = (currentNode, previousNode, forceDate, period, showDateSepa return false; } - if (!shouldCollapseReplies && currentDataset.tmid) { + if (shouldCollapseReplies && currentDataset.tmid) { return previousDataset.id === currentDataset.tmid || previousDataset.tmid === currentDataset.tmid; }