1
0
Fork 0
forked from gitea/nas

Add mutual visibility support

This commit is contained in:
KMY 2023-08-12 18:22:22 +09:00
parent 9662e6ae32
commit 79062bfc2f
14 changed files with 85 additions and 9 deletions

View file

@ -29,7 +29,7 @@ class StatusReachFinder
if @status.reblog?
[]
else
elsif !@status.limited_visibility?
Account.where(id: reached_account_ids).where.not(domain: banned_domains).inboxes
end
end
@ -37,7 +37,7 @@ class StatusReachFinder
def reached_account_inboxes_for_misskey
if @status.reblog?
[]
else
elsif !@status.limited_visibility?
Account.where(id: reached_account_ids).where(domain: banned_domains_for_misskey).inboxes
end
end