diff --git a/src/components/status.jsx b/src/components/status.jsx index 2ea6d926..ce555c45 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -94,6 +94,7 @@ function Status({ filtered, card, createdAt, + inReplyToId, inReplyToAccountId, content, mentions, @@ -279,26 +280,30 @@ function Status({ ))} - {inReplyToAccountId && !withinContext && size !== 's' && ( - <> - {inReplyToAccountId === status.account.id ? ( -
- - Thread -
- ) : ( - !!inReplyToAccount && - !mentions.find((mention) => { - return mention.id === inReplyToAccountId; - }) && ( -
- {' '} - + {!!inReplyToId && + !!inReplyToAccountId && + !withinContext && + size !== 's' && ( + <> + {inReplyToAccountId === status.account.id ? ( +
+ + Thread
- ) - )} - - )} + ) : ( + !!inReplyToAccount && + (!!spoilerText || + !mentions.find((mention) => { + return mention.id === inReplyToAccountId; + })) && ( +
+ {' '} + +
+ ) + )} + + )}