diff --git a/app/Http/Controllers/User/ConversationController.php b/app/Http/Controllers/User/ConversationController.php index b6afdf1587..89c3c0797d 100644 --- a/app/Http/Controllers/User/ConversationController.php +++ b/app/Http/Controllers/User/ConversationController.php @@ -104,7 +104,7 @@ public function update(UpdateConversationRequest $request, User $user, Conversat { abort_unless($request->user()->is($user), 403); - abort_if($conversation->participants()->where('user_id', '=', User::SYSTEM_USER_ID)->exists(), 403, 'You cannot reply to the system'); + abort_if($conversation->participants()->withTrashed()->where('user_id', '=', User::SYSTEM_USER_ID)->exists(), 403, 'You cannot reply to the system'); PrivateMessage::create([ 'sender_id' => $user->id,