User: Stop relying on ap_enabled
This commit is contained in:
parent
4fd96b24ae
commit
0903c41645
1 changed files with 1 additions and 5 deletions
|
@ -1061,11 +1061,7 @@ defmodule Pleroma.User do
|
|||
end
|
||||
|
||||
def maybe_direct_follow(%User{} = follower, %User{} = followed) do
|
||||
if not ap_enabled?(followed) do
|
||||
follow(follower, followed)
|
||||
else
|
||||
{:ok, follower, followed}
|
||||
end
|
||||
{:ok, follower, followed}
|
||||
end
|
||||
|
||||
@doc "A mass follow for local users. Respects blocks in both directions but does not create activities."
|
||||
|
|
Loading…
Reference in a new issue