Progress
accounts approved, video player testing, bookmark collections
This commit is contained in:
@@ -12,6 +12,7 @@ class FollowLimitValidator < ActiveModel::Validator
|
||||
class << self
|
||||
def limit_for_account(account)
|
||||
adjusted_limit = account.is_pro ? 50000 : LIMIT
|
||||
adjusted_limit = account.is_flagged_as_spam ? 0 : LIMIT
|
||||
|
||||
if account.following_count < adjusted_limit
|
||||
adjusted_limit
|
||||
|
||||
Reference in New Issue
Block a user