Merge branch 'master' into glitch-soc/merge-upstream
This commit is contained in:
@@ -106,7 +106,7 @@ module Mastodon
|
||||
[json, account.id, inbox_url]
|
||||
end
|
||||
|
||||
account.update_column(:suspended, true)
|
||||
account.suspend!
|
||||
end
|
||||
|
||||
processed += 1
|
||||
|
||||
@@ -87,8 +87,8 @@ module Mastodon
|
||||
end
|
||||
end
|
||||
|
||||
account.suspended = false
|
||||
user.account = account
|
||||
account.suspended_at = nil
|
||||
user.account = account
|
||||
|
||||
if user.save
|
||||
if options[:confirmed]
|
||||
|
||||
Reference in New Issue
Block a user