Make generic convo report dialog (#4085)
This commit is contained in:
@@ -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`),
|
||||
|
||||
Reference in New Issue
Block a user