mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01:00
Collapse grouped conversations too
This commit is contained in:
parent
d4dca0e81f
commit
cb36308790
1 changed files with 7 additions and 1 deletions
|
@ -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 (
|
||||
<li
|
||||
key={`timeline-${statusID}`}
|
||||
|
|
Loading…
Reference in a new issue