From d429ef9161b6f8c27e268ff487d92da5c02c1aa5 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Wed, 4 Oct 2023 08:31:40 +0800 Subject: [PATCH] Don't compact spoiler post if from different author --- src/components/timeline.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/timeline.jsx b/src/components/timeline.jsx index e4083c6..d4ac2f1 100644 --- a/src/components/timeline.jsx +++ b/src/components/timeline.jsx @@ -412,7 +412,7 @@ function Timeline({ const isMiddle = i > 0 && i < items.length - 1; const isSpoiler = item.sensitive && !!item.spoilerText; const showCompact = - (isSpoiler && i > 0) || + (!_differentAuthor && isSpoiler && i > 0) || (manyItems && isMiddle && (type === 'thread' ||