From 5c4a7ea6668fdfb76e26ddb76cdd3148c0e5083e Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Sat, 10 Oct 2020 03:22:30 -0500 Subject: Only use boosts for default world timeline --- app/services/favourite_service.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'app/services') diff --git a/app/services/favourite_service.rb b/app/services/favourite_service.rb index f3e89746b..a0ab3b4b7 100644 --- a/app/services/favourite_service.rb +++ b/app/services/favourite_service.rb @@ -16,7 +16,6 @@ class FavouriteService < BaseService return favourite unless favourite.nil? favourite = Favourite.create!(account: account, status: status) - curate!(status) unless status.curated? || !status.published? create_notification(favourite) bump_potential_friendship(account, status) @@ -45,9 +44,4 @@ class FavouriteService < BaseService def build_json(favourite) Oj.dump(serialize_payload(favourite, ActivityPub::LikeSerializer)) end - - def curate!(status) - status.curate! - DistributionWorker.perform_async(status.id) - end end -- cgit