diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-03-04 01:07:49 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-03-04 01:07:49 +0100 |
commit | d9c3109bb67f64c671573b1bab02132c6214509b (patch) | |
tree | 3d39c780306ee52a48b3c3d1ae30ecf600ba962d /app/services/favourite_service.rb | |
parent | 3637a0101e1f5095397f190e88f281d603797c32 (diff) | |
parent | 2ea754b8610b50cc93aeb1921ecdf7415efaf17e (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/services/favourite_service.rb')
-rw-r--r-- | app/services/favourite_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/favourite_service.rb b/app/services/favourite_service.rb index 0ca0081b4..dc7fe8855 100644 --- a/app/services/favourite_service.rb +++ b/app/services/favourite_service.rb @@ -31,7 +31,7 @@ class FavouriteService < BaseService status = favourite.status if status.account.local? - NotifyService.new.call(status.account, :favourite, favourite) + LocalNotificationWorker.perform_async(status.account_id, favourite.id, 'Favourite', 'favourite') elsif status.account.activitypub? ActivityPub::DeliveryWorker.perform_async(build_json(favourite), favourite.account_id, status.account.inbox_url) end |