Add misskey searchability support
This commit is contained in:
parent
82d61dad96
commit
753ef0f8e0
3 changed files with 60 additions and 19 deletions
|
@ -110,6 +110,10 @@ class DomainBlock < ApplicationRecord
|
|||
!!rule_for(domain)&.reject_new_follow?
|
||||
end
|
||||
|
||||
def detect_invalid_subscription?(domain)
|
||||
!!rule_for(domain)&.detect_invalid_subscription?
|
||||
end
|
||||
|
||||
def reject_reports?(domain)
|
||||
!!rule_for(domain)&.reject_reports?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue