Make generic convo report dialog (#4085)
This commit is contained in:
parent
1cdcb3e6c3
commit
8b3bfb3cf7
8 changed files with 117 additions and 66 deletions
|
@ -15,7 +15,8 @@ interface ReportOptions {
|
|||
list: ReportOption[]
|
||||
feedgen: ReportOption[]
|
||||
other: ReportOption[]
|
||||
message: ReportOption[]
|
||||
convoMessage: ReportOption[]
|
||||
convoAccount: ReportOption[]
|
||||
}
|
||||
|
||||
export function useReportOptions(): ReportOptions {
|
||||
|
@ -73,7 +74,20 @@ export function useReportOptions(): ReportOptions {
|
|||
},
|
||||
...common,
|
||||
],
|
||||
message: [
|
||||
convoMessage: [
|
||||
{
|
||||
reason: ComAtprotoModerationDefs.REASONSPAM,
|
||||
title: _(msg`Spam`),
|
||||
description: _(msg`Excessive or unwanted messages`),
|
||||
},
|
||||
{
|
||||
reason: ComAtprotoModerationDefs.REASONSEXUAL,
|
||||
title: _(msg`Unwanted Sexual Content`),
|
||||
description: _(msg`Inappropriate messages or explicit links`),
|
||||
},
|
||||
...common,
|
||||
],
|
||||
convoAccount: [
|
||||
{
|
||||
reason: ComAtprotoModerationDefs.REASONSPAM,
|
||||
title: _(msg`Spam`),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue