浏览代码

Merge pull request #5314 from pixelfed/staging

Update PushGatewayRefresh command
daniel 9 月之前
父节点
当前提交
55355f09f8
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/Console/Commands/PushGatewayRefresh.php

+ 2 - 0
app/Console/Commands/PushGatewayRefresh.php

@@ -3,6 +3,7 @@
 namespace App\Console\Commands;
 namespace App\Console\Commands;
 
 
 use App\Services\NotificationAppGatewayService;
 use App\Services\NotificationAppGatewayService;
+use App\Services\PushNotificationService;
 use Illuminate\Console\Command;
 use Illuminate\Console\Command;
 
 
 use function Laravel\Prompts\select;
 use function Laravel\Prompts\select;
@@ -50,6 +51,7 @@ class PushGatewayRefresh extends Command
                 $recheck = NotificationAppGatewayService::forceSupportRecheck();
                 $recheck = NotificationAppGatewayService::forceSupportRecheck();
                 if ($recheck) {
                 if ($recheck) {
                     $this->info('Success! Push Notifications are now active!');
                     $this->info('Success! Push Notifications are now active!');
+                    PushNotificationService::warmList('like');
 
 
                     return;
                     return;
                 } else {
                 } else {