mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update mailers
This commit is contained in:
parent
4fedfbe8fd
commit
7d14e07901
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