Skip to content

Commit

Permalink
スパムフィルターの不等号分かりにくいんじゃー
Browse files Browse the repository at this point in the history
  • Loading branch information
204504bySE committed Feb 19, 2024
1 parent 7ac1282 commit 1329b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/activitypub/activity/create.rb
Expand Up @@ -464,7 +464,7 @@ def like_a_spam?
!@status.account.local? &&
@status.account.followers_count <= SPAM_FILTER_MINIMUM_FOLLOWERS &&
@status.account.created_at > SPAM_FILTER_MINIMUM_CREATE_DAYS.day.ago &&
@mentions.count > SPAM_FILTER_MINIMUM_MENTIONS
@mentions.count >= SPAM_FILTER_MINIMUM_MENTIONS
)
end
end

0 comments on commit 1329b0c

Please sign in to comment.