Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Apply avatar moderation to quote post (#7229)

authored by

Christian Schmidt and committed by
GitHub
fa2072ce 3aa1a5f8

+2 -4
-1
src/view/com/post-thread/PostThreadItem.tsx
··· 567 567 timestamp={post.indexedAt} 568 568 postHref={postHref} 569 569 showAvatar={isThreadedChild} 570 - avatarModeration={moderation.ui('avatar')} 571 570 avatarSize={24} 572 571 style={[a.pb_xs]} 573 572 />
+2 -3
src/view/com/util/PostMeta.tsx
··· 1 1 import React, {memo, useCallback} from 'react' 2 2 import {StyleProp, View, ViewStyle} from 'react-native' 3 - import {AppBskyActorDefs, ModerationDecision, ModerationUI} from '@atproto/api' 3 + import {AppBskyActorDefs, ModerationDecision} from '@atproto/api' 4 4 import {msg} from '@lingui/macro' 5 5 import {useLingui} from '@lingui/react' 6 6 import {useQueryClient} from '@tanstack/react-query' ··· 26 26 postHref: string 27 27 timestamp: string 28 28 showAvatar?: boolean 29 - avatarModeration?: ModerationUI 30 29 avatarSize?: number 31 30 onOpenAuthor?: () => void 32 31 style?: StyleProp<ViewStyle> ··· 67 66 <PreviewableUserAvatar 68 67 size={opts.avatarSize || 16} 69 68 profile={opts.author} 70 - moderation={opts.avatarModeration} 69 + moderation={opts.moderation?.ui('avatar')} 71 70 type={opts.author.associated?.labeler ? 'labeler' : 'user'} 72 71 /> 73 72 </View>