diff --git a/app/validators/follow_limit_validator.rb b/app/validators/follow_limit_validator.rb index 2acc2b6a..ef32ff61 100644 --- a/app/validators/follow_limit_validator.rb +++ b/app/validators/follow_limit_validator.rb @@ -13,6 +13,7 @@ class FollowLimitValidator < ActiveModel::Validator def limit_for_account(account) adjusted_limit = account.is_pro ? 50000 : LIMIT adjusted_limit = account.is_flagged_as_spam ? 0 : LIMIT + adjusted_limit = !account.user.confirmed? ? 10 : LIMIT if account.following_count < adjusted_limit adjusted_limit