mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-02-12 06:29:52 -06:00
fix: mark staff report replies as read automatically
This commit is contained in:
@@ -66,7 +66,7 @@ class ReportController extends Controller
|
||||
|
||||
$conversation = Conversation::create(['subject' => 'Your Report Has A New Verdict']);
|
||||
|
||||
$conversation->users()->sync([$staff->id, $report->reporter_id]);
|
||||
$conversation->users()->sync([$staff->id => ['read' => true], $report->reporter_id]);
|
||||
|
||||
PrivateMessage::create([
|
||||
'conversation_id' => $conversation->id,
|
||||
|
||||
Reference in New Issue
Block a user