diff --git a/src/Illuminate/Notifications/NotificationSender.php b/src/Illuminate/Notifications/NotificationSender.php index 8623c2442181..5ce2e3cefc76 100644 --- a/src/Illuminate/Notifications/NotificationSender.php +++ b/src/Illuminate/Notifications/NotificationSender.php @@ -193,6 +193,12 @@ protected function queueNotification($notifiables, $notification) ->onConnection($notification->connection) ->onQueue($notification->queue) ->delay($notification->delay) + ->through( + array_merge( + method_exists($notification, 'middleware') ? $notification->middleware() : [], + $notification->middleware ?? [] + ) + ) ); } }