diff --git a/app/Listeners/MessageAutoresponder.php b/app/Listeners/MessageAutoresponder.php index 7c97781..6ef78e9 100644 --- a/app/Listeners/MessageAutoresponder.php +++ b/app/Listeners/MessageAutoresponder.php @@ -43,7 +43,7 @@ class MessageAutoresponder ->where('user_id', $message->to_user_id) ->where('to_user_id', $message->user_id) ->where('text', $user->autoresponder_message) - ->where('created_at', '>', now()->subDays(4)) + ->where('created_at', '>', now()->subDay()) ->orWhereExists(function (Builder $query) use ($message) { $query->from('messages', 'm2') ->where('m2.created_at', '>', now()->subMinutes(5)) diff --git a/resources/views/employers/dialog.blade.php b/resources/views/employers/dialog.blade.php index 6c0800b..7e4e4f6 100644 --- a/resources/views/employers/dialog.blade.php +++ b/resources/views/employers/dialog.blade.php @@ -243,7 +243,7 @@