mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-21 04:23:16 +00:00
commit
0e5d3595e1
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ class AdminNewAutospam extends Mailable
|
||||||
public function envelope()
|
public function envelope()
|
||||||
{
|
{
|
||||||
return new Envelope(
|
return new Envelope(
|
||||||
subject: '[' . config('pixelfed.domain.app') . '] Spam Post Detected',
|
subject: '[' . config('pixelfed.domain.app') . '] Spam Post Detected (Ref: autospam-' . $this->report->id . ')',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ class AdminNewReport extends Mailable
|
||||||
$id = $this->report->id;
|
$id = $this->report->id;
|
||||||
$object_type = last(explode("\\", $this->report->object_type));
|
$object_type = last(explode("\\", $this->report->object_type));
|
||||||
return new Envelope(
|
return new Envelope(
|
||||||
subject: '[' . config('pixelfed.domain.app') . '] ' . $object_type . ' Report (#' . $id . '-' . $type . ')',
|
subject: '[' . config('pixelfed.domain.app') . '] ' . $object_type . ' Report (Ref: report-' . $id . '-' . $type . ')',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue