1
0
Fork 0
forked from gitea/nas

Add misskey searchability support

This commit is contained in:
KMY 2023-08-04 13:54:55 +09:00
parent 82d61dad96
commit 753ef0f8e0
3 changed files with 60 additions and 19 deletions

View file

@ -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