From cb363087900a6b7008bdc1449b3b542c906b6eda Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sun, 24 Sep 2023 18:11:23 +0800 Subject: [PATCH] Collapse grouped conversations too --- src/components/timeline.jsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/timeline.jsx b/src/components/timeline.jsx index 13f00202..f832153d 100644 --- a/src/components/timeline.jsx +++ b/src/components/timeline.jsx @@ -412,7 +412,13 @@ function Timeline({ const isSpoiler = item.sensitive && !!item.spoilerText; const showCompact = (isSpoiler && i > 0) || - (manyItems && isMiddle && type === 'thread'); + (manyItems && + isMiddle && + (type === 'thread' || + (type === 'conversation' && + !_differentAuthor && + !items[i - 1]._differentAuthor && + !items[i + 1]._differentAuthor))); return (