mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-18 19:13:17 +00:00
Update FollowPipeline
This commit is contained in:
parent
cc897bc427
commit
873031538d
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class FollowPipeline implements ShouldQueue
|
||||||
if (PushNotificationService::check('follow', $target->id)) {
|
if (PushNotificationService::check('follow', $target->id)) {
|
||||||
$user = User::whereProfileId($target->id)->first();
|
$user = User::whereProfileId($target->id)->first();
|
||||||
if ($user && $user->expo_token && $user->notify_enabled) {
|
if ($user && $user->expo_token && $user->notify_enabled) {
|
||||||
FollowPushNotifyPipeline::dispatchSync($user->expo_token, $actor->username);
|
FollowPushNotifyPipeline::dispatch($user->expo_token, $actor->username)->onQueue('pushnotify');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue