Hide quote counts for quotegated posts (#5011)

zio/stable
Eric Bailey 2024-08-28 16:57:18 -05:00 committed by GitHub
parent 16d556c3c9
commit b136c44287
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -398,7 +398,9 @@ let PostThreadItemLoaded = ({
</Text>
</Link>
) : null}
{post.quoteCount != null && post.quoteCount !== 0 ? (
{post.quoteCount != null &&
post.quoteCount !== 0 &&
!post.viewer?.embeddingDisabled ? (
<Link
style={styles.expandedInfoItem}
href={quotesHref}