mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-19 07:57:00 +00:00
Enable domain purge button on suspended domains too (#17741)
Related: #17209
This commit is contained in:
parent
64d2988d18
commit
18e27e0488
|
@ -33,7 +33,7 @@ class Instance < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def unavailable?
|
def unavailable?
|
||||||
unavailable_domain.present?
|
unavailable_domain.present? || domain_block&.suspend?
|
||||||
end
|
end
|
||||||
|
|
||||||
def failing?
|
def failing?
|
||||||
|
|
Loading…
Reference in a new issue