From 7d14e079013287a9743d16be0354d413816a05b0 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 24 Apr 2023 03:26:36 -0600 Subject: [PATCH] Update mailers --- app/Mail/AdminNewAutospam.php | 2 +- app/Mail/AdminNewReport.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Mail/AdminNewAutospam.php b/app/Mail/AdminNewAutospam.php index 2d3a7d5cb..8ee7069c2 100644 --- a/app/Mail/AdminNewAutospam.php +++ b/app/Mail/AdminNewAutospam.php @@ -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 . ')', ); } diff --git a/app/Mail/AdminNewReport.php b/app/Mail/AdminNewReport.php index f57c00d1f..e3e59c9ba 100644 --- a/app/Mail/AdminNewReport.php +++ b/app/Mail/AdminNewReport.php @@ -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 . ')', ); }