Commit 46684db8 authored by lain's avatar lain
Browse files

Update account_view.ex

parent 68c75a08
Pipeline #11972 failed with stages
in 7 minutes and 39 seconds
......@@ -40,7 +40,7 @@ def render("relationship.json", %{user: %User{} = user, target: %User{} = target
follow_activity = Pleroma.Web.ActivityPub.Utils.fetch_latest_follow(user, target)
requested =
if follow_activity and !User.following?(target, user) do
if follow_activity && !User.following?(target, user) do["state"] == "pending"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment