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/state/shell/composer.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/state/shell/composer.tsx')
-rw-r--r-- | src/state/shell/composer.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/state/shell/composer.tsx b/src/state/shell/composer.tsx index 2133ee6b0..696a3c5ba 100644 --- a/src/state/shell/composer.tsx +++ b/src/state/shell/composer.tsx @@ -1,5 +1,9 @@ import React from 'react' -import {AppBskyEmbedRecord, AppBskyRichtextFacet} from '@atproto/api' +import { + AppBskyEmbedRecord, + AppBskyRichtextFacet, + PostModeration, +} from '@atproto/api' import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback' export interface ComposerOptsPostRef { @@ -12,6 +16,7 @@ export interface ComposerOptsPostRef { avatar?: string } embed?: AppBskyEmbedRecord.ViewRecord['embed'] + moderation?: PostModeration } export interface ComposerOptsQuote { uri: string |