mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 08:19:05 +00:00
Add Account#unavailable? and Account#permanently_unavailable? aliases (#28053)
This commit is contained in:
@@ -18,6 +18,6 @@ class Settings::BaseController < ApplicationController
|
||||
end
|
||||
|
||||
def require_not_suspended!
|
||||
forbidden if current_account.suspended?
|
||||
forbidden if current_account.unavailable?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user