mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-18 19:13:17 +00:00
Merge pull request #5314 from pixelfed/staging
Update PushGatewayRefresh command
This commit is contained in:
commit
55355f09f8
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue