]> cat aescling's git repositories - mastodon.git/commit
Allow more than the max pins if account is not local (#7105)
authorRenato "Lond" Cerqueira <renato@lond.com.br>
Thu, 12 Apr 2018 18:36:02 +0000 (20:36 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 12 Apr 2018 18:36:02 +0000 (20:36 +0200)
commit14d86eb0d076cbadc5944d817ddb731d95312ccf
tree145868d33d5dcc4c599eb7101569ae6b4942b51e
parent50529cbceb84e611bca497624a7a4c38113e5135
Allow more than the max pins if account is not local (#7105)

Sidekiq sometimes throws errors for users that have more pinned items
than the allowed by the local instance. It should only validate the
number of pins for local accounts.
app/validators/status_pin_validator.rb
spec/models/status_pin_spec.rb