diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-12-04 12:53:25 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 12:53:25 -0800 |
commit | 37cafb080bb7a2892d20a991a49953c08dbe2763 (patch) | |
tree | 26970a1d94609e4f237bad0d65dcc506a56ac196 /src/view/com/post/Post.tsx | |
parent | a46059ca465e6f4d27930f3e520686966cae1b41 (diff) | |
download | voidsky-37cafb080bb7a2892d20a991a49953c08dbe2763.tar.zst |
Fix: distinguish between post media and quotes with the moderation hider (#2075)
* Fix: distinguish between post media and quotes with the moderation hider * Type fixes
Diffstat (limited to 'src/view/com/post/Post.tsx')
-rw-r--r-- | src/view/com/post/Post.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx index 2e8019e71..9b1bf7a49 100644 --- a/src/view/com/post/Post.tsx +++ b/src/view/com/post/Post.tsx @@ -196,8 +196,14 @@ function PostInner({ {post.embed ? ( <ContentHider moderation={moderation.embed} + moderationDecisions={moderation.decisions} + ignoreQuoteDecisions style={styles.contentHider}> - <PostEmbeds embed={post.embed} moderation={moderation.embed} /> + <PostEmbeds + embed={post.embed} + moderation={moderation.embed} + moderationDecisions={moderation.decisions} + /> </ContentHider> ) : null} </ContentHider> |