don't count faves as indicators for known accounts
parent
6fa9c3eb1b
commit
6eebf636ba
|
@ -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
|
||||
|
|
|
@ -17,8 +17,6 @@ class FavouriteService < BaseService
|
|||
|
||||
favourite = Favourite.create!(account: account, status: status)
|
||||
|
||||
status.account.mark_known! unless !Setting.auto_mark_known || status.account.known?
|
||||
|
||||
curate_status(status)
|
||||
create_notification(favourite) unless skip_notify
|
||||
bump_potential_friendship(account, status)
|
||||
|
|
Loading…
Reference in New Issue