parent
13e5eed811
commit
e53c6b13eb
4 changed files with 35 additions and 6 deletions
|
@ -186,6 +186,10 @@ module Account::Interactions
|
|||
active_relationships.exists?(target_account: other_account)
|
||||
end
|
||||
|
||||
def following_or_self?(other_account)
|
||||
id == other_account.id || following?(other_account)
|
||||
end
|
||||
|
||||
def following_anyone?
|
||||
active_relationships.exists?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue