Add mutual visibility support
This commit is contained in:
parent
9662e6ae32
commit
79062bfc2f
14 changed files with 85 additions and 9 deletions
|
@ -303,6 +303,10 @@ module AccountInteractions
|
|||
end
|
||||
end
|
||||
|
||||
def mutuals
|
||||
followers.merge(Account.where(id: following))
|
||||
end
|
||||
|
||||
def relations_map(account_ids, domains = nil, **options)
|
||||
relations = {
|
||||
blocked_by: Account.blocked_by_map(account_ids, id),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue