File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
app/lib/frontend/handlers Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -216,13 +216,14 @@ Future<String> processReportPageHandler(
216216 });
217217
218218 final kind = isAppeal ? 'appeal' : 'report' ;
219- final kindLabel = isAppeal ? 'moderation appeal' : 'content report ' ;
219+ final kindLabel = isAppeal ? 'moderation appeal' : 'content policy violation ' ;
220220 final bodyText = < String > [
221- 'New $kind received on ${now .toIso8601String ()}: $caseId ' ,
221+ 'New $kind received on ${now .toIso8601String (). split ( 'T' ). first }: $caseId ' ,
222222 if (form.url != null ) 'URL: ${form .url }' ,
223223 if (isAppeal) 'Appealed case ID: ${form .caseId }' ,
224+ if (! isAppeal) 'Violated policy: https://pub.dev/policy' ,
224225 'Subject: ${subject .fqn }' ,
225- 'Message:\n ${form .message }' ,
226+ 'Message:\n --- \ $ {form.message}\n --- ' ,
226227 'This $kind will be processed by the moderation team.' ,
227228 ].join ('\n\n ' );
228229
You can’t perform that action at this time.
0 commit comments