Add ability to report a group chat (#10485)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import {type DialogControlProps} from '#/components/Dialog'
|
||||
import {ReportDialog} from '#/components/moderation/ReportDialog'
|
||||
|
||||
export function ReportConversationDialog({
|
||||
control,
|
||||
convoId,
|
||||
did,
|
||||
onAfterSubmit,
|
||||
}: {
|
||||
control: DialogControlProps
|
||||
convoId: string
|
||||
did: string
|
||||
onAfterSubmit?: () => void
|
||||
}) {
|
||||
return (
|
||||
<ReportDialog
|
||||
control={control}
|
||||
subject={{convoId, did}}
|
||||
onAfterSubmit={onAfterSubmit}
|
||||
/>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user