Ver Fonte

Update mailers

Daniel Supernault há 2 anos atrás
pai
commit
7d14e07901
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      app/Mail/AdminNewAutospam.php
  2. 1 1
      app/Mail/AdminNewReport.php

+ 1 - 1
app/Mail/AdminNewAutospam.php

@@ -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 . ')',
         );
         );
     }
     }
 
 

+ 1 - 1
app/Mail/AdminNewReport.php

@@ -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 . ')',
         );
         );
     }
     }