Merge pull request #4325 from pixelfed/staging

Update mailers
This commit is contained in:
daniel 2023-04-24 03:27:24 -06:00 committed by GitHub
commit 0e5d3595e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ class AdminNewAutospam extends Mailable
public function 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 . ')',
);
}

View file

@ -38,7 +38,7 @@ class AdminNewReport extends Mailable
$id = $this->report->id;
$object_type = last(explode("\\", $this->report->object_type));
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 . ')',
);
}