diff options
author | Hailey <153161762+haileyok@users.noreply.github.com> | 2024-01-30 18:11:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-30 18:11:23 -0800 |
commit | 59aacf4126c3b9ffead339960b082bcc415b1766 (patch) | |
tree | a7a34b3517784d6840e55f9209fecb1dbb761917 /src/view/com/composer/ComposerReplyTo.tsx | |
parent | 28455f49dcb5ed2aa2b3d728ae3114e5c1cf7ebb (diff) | |
download | voidsky-59aacf4126c3b9ffead339960b082bcc415b1766.tar.zst |
moderate avatars and embeds in composer reply to (#2665)
* moderate avatars and embeds in composer reply to * oops * dont need moderation in the quote opts
Diffstat (limited to 'src/view/com/composer/ComposerReplyTo.tsx')
-rw-r--r-- | src/view/com/composer/ComposerReplyTo.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/view/com/composer/ComposerReplyTo.tsx b/src/view/com/composer/ComposerReplyTo.tsx index 678c8581f..39a1473a3 100644 --- a/src/view/com/composer/ComposerReplyTo.tsx +++ b/src/view/com/composer/ComposerReplyTo.tsx @@ -83,7 +83,11 @@ export function ComposerReplyTo({replyTo}: {replyTo: ComposerOptsPostRef}) { accessibilityHint={_( msg`Expand or collapse the full post you are replying to`, )}> - <UserAvatar avatar={replyTo.author.avatar} size={50} /> + <UserAvatar + avatar={replyTo.author.avatar} + size={50} + moderation={replyTo.moderation?.avatar} + /> <View style={styles.replyToPost}> <Text type="xl-medium" style={[pal.text]}> {sanitizeDisplayName( @@ -99,7 +103,7 @@ export function ComposerReplyTo({replyTo}: {replyTo: ComposerOptsPostRef}) { {replyTo.text} </Text> </View> - {images && ( + {images && !replyTo.moderation?.embed.blur && ( <ComposerReplyToImages images={images} showFull={showFull} /> )} </View> |