From 6eebf636ba7ed36fa949037fe46df71c2e45c59d Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sat, 7 Dec 2019 23:18:17 -0600 Subject: don't count faves as indicators for known accounts --- app/services/block_domain_service.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'app/services/block_domain_service.rb') diff --git a/app/services/block_domain_service.rb b/app/services/block_domain_service.rb index 363600d9f..1fae42c50 100644 --- a/app/services/block_domain_service.rb +++ b/app/services/block_domain_service.rb @@ -127,17 +127,13 @@ class BlockDomainService < BaseService end def known_account_ids - local_accounts | packmates | boosted_authors | faved_authors + local_accounts | packmates | boosted_authors end def boosted_authors Status.where(id: Status.local.reblogs.reorder(nil).select(:reblog_of_id)).reorder(nil).pluck(:account_id) end - def faved_authors - Status.where(id: Favourite.select(:status_id)).reorder(nil).pluck(:account_id) - end - def local_accounts Account.local.pluck(:id) end -- cgit