[🐴] Report message dialog (#3941)
* message report dialog * report chat prompt * typo * 100% height sheet on android * messages-specific report options * restore unwanted sexual content * chat -> conversation
This commit is contained in:
parent
7370bebf07
commit
ab21aafc28
6 changed files with 309 additions and 15 deletions
|
@ -15,6 +15,7 @@ interface ReportOptions {
|
|||
list: ReportOption[]
|
||||
feedgen: ReportOption[]
|
||||
other: ReportOption[]
|
||||
message: ReportOption[]
|
||||
}
|
||||
|
||||
export function useReportOptions(): ReportOptions {
|
||||
|
@ -72,6 +73,19 @@ export function useReportOptions(): ReportOptions {
|
|||
},
|
||||
...common,
|
||||
],
|
||||
message: [
|
||||
{
|
||||
reason: ComAtprotoModerationDefs.REASONSPAM,
|
||||
title: _(msg`Spam`),
|
||||
description: _(msg`Excessive or unwanted messages`),
|
||||
},
|
||||
{
|
||||
reason: ComAtprotoModerationDefs.REASONSEXUAL,
|
||||
title: _(msg`Unwanted Sexual Content`),
|
||||
description: _(msg`Unwanted sexual content`),
|
||||
},
|
||||
...common,
|
||||
],
|
||||
list: [
|
||||
{
|
||||
reason: ComAtprotoModerationDefs.REASONVIOLATION,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue