:sad:
This commit is contained in:
parent
6e76cbb0e4
commit
c2f59a2848
@ -456,9 +456,9 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
|||||||
def like_a_spam?
|
def like_a_spam?
|
||||||
(
|
(
|
||||||
!@status.account.local? &&
|
!@status.account.local? &&
|
||||||
@status.account.followers_count.zero? &&
|
@status.account.followers_count <= SPAM_FILTER_MINIMUM_FOLLOWERS &&
|
||||||
@status.account.created_at > 1.day.ago &&
|
@status.account.created_at > SPAM_FILTER_MINIMUM_CREATE_DAYS.day.ago &&
|
||||||
@mentions.count >= 2
|
@mentions.count > SPAM_FILTER_MINIMUM_MENTIONS
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user