Merge branch 'master' into glitch-soc/merge-upstream
This commit is contained in:
@@ -14,7 +14,7 @@ class FollowLimitValidator < ActiveModel::Validator
|
||||
if account.following_count < LIMIT
|
||||
LIMIT
|
||||
else
|
||||
account.followers_count * RATIO
|
||||
[(account.followers_count * RATIO).round, LIMIT].max
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user