about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-12-08 18:15:07 -0600
committerGitHub <noreply@github.com>2023-12-08 16:15:07 -0800
commit0270ada908f4b8ad499724a9dd10eb7eff72785d (patch)
treeaf76f88cdf2ce443be8eef42e2a2d7716b1374f7 /src
parent1b8b1b2ed1aac58ebb621e515eaf6b752ce709fa (diff)
downloadvoidsky-0270ada908f4b8ad499724a9dd10eb7eff72785d.tar.zst
Fix quote post moderation check (#2149)
* Fix quote post moderation check

* Restore the ContentHider check

* Apply the content hider to quote posts

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/view/com/util/post-embeds/index.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/view/com/util/post-embeds/index.tsx b/src/view/com/util/post-embeds/index.tsx
index 5c16a3b3e..2814cad87 100644
--- a/src/view/com/util/post-embeds/index.tsx
+++ b/src/view/com/util/post-embeds/index.tsx
@@ -95,7 +95,9 @@ export function PostEmbeds({
     // quote post
     // =
     return (
-      <MaybeQuoteEmbed embed={embed} style={style} moderation={moderation} />
+      <ContentHider moderation={moderation}>
+        <MaybeQuoteEmbed embed={embed} style={style} moderation={moderation} />
+      </ContentHider>
     )
   }